在为ViewPager设置Adapter时肯定会用到PagerAdapter,Google Android文档对该类的定义如下: Base class providing the adapter to populate pages inside of a ViewPager. You will most likely want to use a more specific implementation of this, such asFragmentPagerAdapter or Fragmen