Last active
May 18, 2019 00:46
-
-
Save cesarferreira/d3e6da3017ceb2f757f10b7a48a7557d to your computer and use it in GitHub Desktop.
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() { | |
init { | |
viewModelScope.launch { | |
// Coroutine that will be canceled when the ViewModel is cleared. | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment