astuetz / PagerSlidingTabStrip

An interactive indicator to navigate between the different pages of a ViewPager
139 stars 44 forks source link

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

Open ramuind opened 8 years ago

ramuind commented 8 years ago

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 :)

AMITKM192 commented 8 years ago

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

syalevi commented 8 years ago

Thanks, you solve my problem :)

bauloc commented 7 years ago

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