i have a problem that i have been struggling with for the past 2 days.
I am building an app that uses ActionBar, ViewPager & FragmentPagerAdapter. The code for
Add this code when you define the Viewpager
mViewPager.setOffscreenPageLimit(0);
It will not save any view of the fragments when you switch to other fragment .. so switching from fragment to another will create the fragment from the start and update everything.