stephentuso/welcome-android

Allow fragments to be garbage collected when scrolled away

stephentuso opened this issue · 1 comments

Currently once a page fragment is created, it won't be GCd until the activity closes. Ideally, only the current and immediately adjacent pages would be held on to

Posible solution:
Difference between FragmentPagerAdapter and FragmentStatePagerAdapter

https://stackoverflow.com/questions/18747975/difference-between-fragmentpageradapter-and-fragmentstatepageradapter