Skip to content

Instantly share code, notes, and snippets.

@MkhytarMkhoian
Created May 16, 2024 14:10
Show Gist options
  • Save MkhytarMkhoian/b7211aaa0d825cc8f10adbcc161a36d1 to your computer and use it in GitHub Desktop.
Save MkhytarMkhoian/b7211aaa0d825cc8f10adbcc161a36d1 to your computer and use it in GitHub Desktop.
class AppNavigator(
private val navController: NavController,
) : ProfileSharedNavigator {
override fun goToProfile(userId: String) {
navController.navigateSafely(
FareListFragmentDirections.actionFareListFragmentToProfileFragment(userId)
)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment