Join Slack
However, following the documentation for ViewModel with koin (<https://doc.insert-koin.io/#/koin-and...
# 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
kotlinlang
A modern programming language that makes developers happier.
Powered by