Created
September 30, 2020 12:51
-
-
Save robotsquidward/e9aaa3957f42a22fdb16e41fc8e9b071 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
private val model: MyViewModel by activityViewModels { | |
createWithFactory { | |
MyViewModel(repo = MyRepository()) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment