Many of us have been questioning about nesting the...
# compose-android
p
Many of us have been questioning about nesting the
NavDisplay
composable from the new Navigation3 library. Here is some code trying that out and it works like a charm! Is not the recommended way to use this library but in case there is no other alternative for a quick solution. Here it is: https://github.com/pablichjenkov/nav3-playground The demo basically consist of one
NavDisplay
for the most top BottomBarNavigation and another
NavDisplay
inside the third tab, hosted in a ModalDrawer.
nasted-navdisplay-demo.mp4