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

Reusable fragments option #2

Open
ghost opened this issue Feb 22, 2019 · 0 comments
Open

Reusable fragments option #2

ghost opened this issue Feb 22, 2019 · 0 comments

Comments

@ghost
Copy link

ghost commented Feb 22, 2019

This example is not demonstrating how to reuse already created fragments in NavHostFragment by NavController. For example if we navigate screen 1 and then go back to home screen and then go to screen 1 again the new fragment instance will be created again instead of reusing already created instance. Even if we click same tab of BottomNavigationView twice the same fragment will be recreated.
Could you fix that and provide option for reusable navigation through the fragments?

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

No branches or pull requests

0 participants