Android, Jetpack Compose, Android App Development, Mobile App Development, Programming.
there is a way how to split screens into graphs, so it is not cluttered at one place. fun NavGraphBuilder.mainGraph(navController: NavController) { composable<Routes.FirstScreen> { FirstScreen(onNavigateForward = { navController.navigate( Routes.SecondScreen() ) }) }