Viewpager Fragment Loads Even If The Parent Fragment Is Not Active
The background I have single activity in my App which loads 2 fragments based on some menu item selection public class ActivityMain extends AppCompatActivity{ protected void on
Solution 1:
If you are using FragmentStatePagerAdapter
then this will not destroy fragment and when you swipe and come back to that fragment it will show old data without refresh. Because of not destroyed by viewpager.
Post a Comment for "Viewpager Fragment Loads Even If The Parent Fragment Is Not Active"