Created
November 5, 2022 21:22
-
-
Save k0siara/e0e735197e8345ab6752ef74651a7480 to your computer and use it in GitHub Desktop.
MyViewModel.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 MyViewModel : ViewModel(), ... { | |
fun onSomeAction() { | |
viewModelScope.launch { | |
... | |
val dialogResult = showTryAgainDialog(data = ...) | |
... | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment