PagerSlidingTabStrip icon indicating copy to clipboard operation
PagerSlidingTabStrip copied to clipboard

getItem(int position) not fired when fragment is re-opened

Open ramuind opened this issue 9 years ago • 3 comments

I am using FragmentPagerAdapter to inflate sliding pager in fragment. First time when I open fragment everything works fine, but if I re-open same fragment again , getItem (position) method is not fired and fragment is not inflating with new data.

Can you kindly help me on this.

Thanks :)

ramuind avatar Jan 08 '16 13:01 ramuind

Just try with FragmentStatePagerAdapter instead of FragmentPagerAdapter. it will work :) Thanks

AMITKM192 avatar Jan 11 '16 08:01 AMITKM192

Thanks, you solve my problem :)

syalevi avatar Aug 16 '16 10:08 syalevi

Very thanks amit007rocks Cám ơn rất nhiều.

bauloc avatar Nov 01 '16 03:11 bauloc