Monday, 24 April 2023

Can we have a NavigationBar instance per screen without functional disadvantages?

When using Jetpack Compose and Material Design, is it possible to use a new NavigationBar (aka BottomNavigationBar) on each screen? Or would this interrupt e.g. touch animations as a new NavigationBar gets instantiated when switching screens?

My idea behind this is that this would really make it easy to hide or show the NavigationBar on some screens and not on others (instead of communicating e.g. with a Scaffold higher up in the hierarchy)



from Can we have a NavigationBar instance per screen without functional disadvantages?

No comments:

Post a Comment