Thread
#compose
    Simone Summo

    Simone Summo

    1 year ago
    Hello, I am following this to implement navigation with bottomBar, now I want to open a child from a list that need to show full screen, I call it a modal, how can I achieve this behaviour? At the moment, using nested navigation, it opens inside the content space, with the bottom bar visible.
    i

    Ian Lake

    1 year ago
    You can certainly use that same technique to hide/show the bottom bar when the destination changes to your "modal" destination
    Tony Kazanjian

    Tony Kazanjian

    1 year ago
    In my NavHost I basically just have any composable that needs a BottomBar wrapped in a Scaffold that contains the bottom bar, and anything else that needs to be full-screen is just a "naked" composable:
    composable(DetailDestinationScreens.Details.route){
                ItemDetailScreen(getViewModel(), navController)
            }
    
            composable(BottomNavigationScreens.Home.route){
                Scaffold(bottomBar = { BottomNavigation(navHostController = navController, screens = BottomNavigationScreens.values())}) {
                    HomeFeed(getViewModel())
                }
            }