Join Slack
Powered by
However, following the documentation for ViewModel...
# koin
o
Ofir Bar
12/27/2019, 10:41 PM
However, following the documentation for ViewModel with koin (
https://doc.insert-koin.io/#/koin-android/viewmodel?id=injecting-your-viewmodel
) I can use getViewModel(), which will give me the ViewModel directly. If I change my code to that, I get a crash:
Open in Slack
Previous
Next