Created
January 7, 2019 07:44
-
-
Save igorwojda/f15885a2331c8e6315b36bc54bbb308c to your computer and use it in GitHub Desktop.
KotlinViewModelProvider usage
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
KotlinViewModelProvider.of(context) { RegisterViewModel(instance()) } //context is a Fragment |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment