You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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?
The text was updated successfully, but these errors were encountered: