Hi, <this section> seems outdated with Koin 3.2. E...
# koin
r
Hi, this section seems outdated with Koin 3.2. Especially this import
import
_static_ org.koin.android.viewmodel.compat.ViewModelCompat.getViewModel;
is not available anymore. → How do we inject a Koin ViewModel in a Java class using Koin 3.2?
🆙 1
j
Just add the dependency:
Copy code
implementation "io.insert-koin:koin-android-compat:$koin_version"
r
Yes, but imports are also different. I’ve just opened a small PR in case someone runs into the same issue.