Skip to content

Instantly share code, notes, and snippets.

@dilrajsingh1997
Created November 20, 2021 13:13
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 dilrajsingh1997/2b7d9b79410ef5a74bb245eb00d35ff7 to your computer and use it in GitHub Desktop.
Save dilrajsingh1997/2b7d9b79410ef5a74bb245eb00d35ff7 to your computer and use it in GitHub Desktop.
val openUserPage: (String, Boolean) -> Unit = { userId, isLoggedIn ->
navHostController.navigate(UserPageDestination.getDestination(userId, isLoggedIn))
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment