Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow fragments to be garbage collected when scrolled away #54

Open
stephentuso opened this issue Nov 28, 2017 · 1 comment
Open

Allow fragments to be garbage collected when scrolled away #54

stephentuso opened this issue Nov 28, 2017 · 1 comment

Comments

@stephentuso
Copy link
Owner

stephentuso commented Nov 28, 2017

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

@webserveis
Copy link

Posible solution:
Difference between FragmentPagerAdapter and FragmentStatePagerAdapter

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants