Skip to content

Instantly share code, notes, and snippets.

Created Nov 20, 2021
What would you like to do?
class NavigationGraph(private val navHostController: NavHostController) {
val openUserPage: (String, Boolean) -> Unit = { userId, isLoggedIn ->
navHostController.navigate("userPage?" +
"userId=$userId," +
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment