Lucas Reis
10/27/2021, 10:37 PMBottomNavigation here but didn't found a solution for something I have in my project.
We created a AuthScreen in composable() that don't need to have a BottomNavigation and it's the first screen of the App. I have only one Scaffold for the app that encapsulates the NavHost.
I added a conditional logic on the BottomNavigation to only show when the current route is equal to some screens but not for the AuthScreen, similar to how this works on the compose samples.
Everything works fine, but I notice when the AuthScreen transitions to my HomeScreen (that is a route that has the BottomNavigation) the BottomNavigation appears before the AuthScreen fades away, and I found this behaviour a little strange, I think that it's something to do with the fade animation of navigation compose, anyone has this problem too and found a solution?
I tried putting Scaffold in all screens that has the BottomNavigation but I think this is not good, since Scaffold is better to be shared throughout the application.Ian Lake
10/27/2021, 10:46 PMLucas Reis
10/27/2021, 10:47 PMLucas Reis
10/27/2021, 11:08 PMIan Lake
10/27/2021, 11:20 PMIan Lake
10/27/2021, 11:21 PMIan Lake
10/27/2021, 11:21 PMLucas Reis
10/28/2021, 1:48 PM