-
-
Save appspell/71331e09f18af04998af660a85b39cb6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
setContent { | |
val navController = rememberNavController() | |
NavHost(navController, startDestination = NavigationDestination.Screen1.destination) { | |
composable(NavigationDestination.Screen1.destination) { | |
Screen1() | |
} | |
composable(NavigationDestination.Screen2.destination) { | |
Screen2() | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment