I am using view pager with nested fragments. Suppose assume that am having 5 fragments and i have chosen the 2nd fragment which has some button and i click on that new view will display.Now if i move to 3rd fragment and come back again to 2nd fragment it still display the new view not the list(parent). i guess its because of view pager is caching the data. Is there any possible way to solve this. I tried mViewPager.setDrawingCacheEnabled(false);
but its not helping out.
When i gone through mViewPager.setCurrentItem()
it caches the inner item like setCurrentItemInternal(item, !mFirstLayout, false);
Any help is appreciated