FragmentPagerAdapter使用笔记

2015-11-20  本文已影响98人  Adooooo

 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, considerFragmentStatePagerAdapter.

http://developer.android.com/intl/zh-cn/reference/android/support/v4/app/FragmentPagerAdapter.html

上一篇 下一篇

猜你喜欢

热点阅读