Changing ViewPager to enable infinite page scrolling
问题 Jon Willis has posted on how to enable an infinite scrolling with his code. In there he said that he made some changes in the ViewPager class int the android support library. Which changes have been made and how is it possible to "recompile" the library with the ViewPager change? 回答1: I solved this problem very simply using a little hack in the adapter. Here is my code: public class MyPagerAdapter extends FragmentStatePagerAdapter { public static int LOOPS_COUNT = 1000; private ArrayList