Skip to content

Instantly share code, notes, and snippets.

@burnoo
Last active October 21, 2021 13:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save burnoo/1989ec4796bb96e90cbbee76aee010a4 to your computer and use it in GitHub Desktop.
Save burnoo/1989ec4796bb96e90cbbee76aee010a4 to your computer and use it in GitHub Desktop.
Cokoin Medium 7
@Composable
fun Screen1(navController: NavController) {
val rootViewModel = getViewModel<RootViewModel>(
viewModelStoreOwner = navController.getBackStackEntry("root")
)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment