把限制页面数设置成应用一共的页面数就可以了 ViewPager.setOffscreenPageLimit(3); 转载于:https://www.cnblogs.com/jinglecode/p/5729827.html