Skip to content

Instantly share code, notes, and snippets.

@RaheemJnr
Created October 10, 2021 08:33
Show Gist options
  • Save RaheemJnr/27e0890a0fdef25667600b7b150f73ca to your computer and use it in GitHub Desktop.
Save RaheemJnr/27e0890a0fdef25667600b7b150f73ca to your computer and use it in GitHub Desktop.
@Composable
fun MainScreenNavigation(navController: NavHostController) {
NavHost(navController, startDestination = Screen.Profile.route!!) {
//profile
composable(Screen.Profile.route) {
// ProfileScreen()
}
//pickUp
composable(Screen.PickUp.route!!) {
// PickupScreen()
}
//camera
composable(Screen.Camera.route!!){
// CameraScreen()
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment