brucepeterzhou
2017-01-06 10:33
采纳率: 83.3%
浏览 881

android 中的api翻译问题

This version of the pager is best for use when there are a handful of typically more static fragments to be paged through, such as a set of tabs. The fragment of each page the user visits will be kept in memory, though its view hierarchy may be destroyed when not visible. This can result in using a significant amount of memory since fragment instances can hold on to an arbitrary amount of state. For larger sets of pages, consider FragmentStatePagerAdapter.

中的pager在这里是什么意思啊

连接地址:https://developer.android.google.cn/reference/android/support/v13/app/FragmentPagerAdapter.html

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 邀请回答

1条回答 默认 最新

  • Littlechoc 2017-01-06 13:54
    已采纳

    你知道ViewPager么,ViewPager的适配器就是PagerAdapter,FragmentPagerAdapter就是PagerAdapter的子类。一个Pager就是一页,拿微信举个例子,微信、通讯录、发现、我这四个页面你就可以看成4个Pager

    点赞 评论

相关推荐 更多相似问题