Android, Jetpack Compose, Android App Development, Mobile App Development, Programming.
composable<Routes.SecondScreen>() { SecondScreen(onNavigateBack = { navController.navigate( Routes.FirstScreen ) }) } } NavGraphBuilder can be used with custom naming to your set of screens, where you put the screen into composables as above. Otherwise, it is the same as plain composables. NavHost