-
Notifications
You must be signed in to change notification settings - Fork 1
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
Optimize the bottom navigation #12
Comments
Fix #12, use Fragment transaction to handle bottom navigation
How did this solution (so delayed loading and swapping navHostFragments) worked comparing to using ViewFlipper ? |
@MichalSznajder First of all, ViewFilpper will eagerly load all child views, which means if you have multiple views based on Anyway, using |
Right now I just use ViewFlipper to switch the view on bottom navigation based on this issue hotwired/turbo-android#189. But it has some problems, for example it will render all view at once including home page, and library page when after lunched the app. And also ViewFlipper seems isn't the proper way to handle bottom navigation. So I need to find a better way to switch view for bottom navigation.
The text was updated successfully, but these errors were encountered: