Created
August 8, 2021 15:48
-
-
Save k0siara/1f69809c68c09d60f9a2855c5bf5b339 to your computer and use it in GitHub Desktop.
FirstScreenViewModel.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class FirstScreenViewModel( | |
private val navigator: Navigator | |
) : ViewModel { | |
... | |
fun navigateExample() { | |
navigator.navigate(NavigationActions.FirstScreen.firstScreenToSecondScreen()) | |
} | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment