@Override public void destroyItem(ViewGroup container, int position, Object object) { //super.destroyItem(container, position, object); }
Android tips for caching ViewPager
If you don't want to recreate the Fragment every time you switch ViewPager, it's very simple to just comment out the two methods of the adapter:
Guess you like
Origin http://10.200.1.11:23101/article/api/json?id=326691950&siteId=291194637
Recommended
Ranking