解决方案:
1.viewpager.setOffscreenPageLimit(num);num为你的tab数
2.重写public void destroyItem(ViewGroup container, int position, Object object),
去掉super.destroyItem(container, position, object);
解决方案:
1.viewpager.setOffscreenPageLimit(num);num为你的tab数
2.重写public void destroyItem(ViewGroup container, int position, Object object),
去掉super.destroyItem(container, position, object);