InsertKoinIO / koin

Koin - a pragmatic lightweight dependency injection framework for Kotlin & Kotlin Multiplatform
https://insert-koin.io
Apache License 2.0
8.77k stars 695 forks source link

No static method makeOptions$default(Lorg/koin/core/module/Module;ZZILjava/lang/Object;)Lorg/koin/core/definition/Options; in #1837

Open rafiwew opened 3 months ago

rafiwew commented 3 months ago
    implementation("io.insert-koin:koin-core:3.5.3")
    implementation("io.insert-koin:koin-android:3.5.3")
    implementation("io.insert-koin:koin-android-viewmodel:2.2.3") {
        exclude group: 'io.insert-koin', module: 'koin-android-scope'
    }

val favoriteModule = module {
    viewModel { FavoriteViewModel(get()) }
}

loadKoinModules(favoriteModule)

I have 1 dynamic feature for favorites, can anyone help me? but it has an error like the title of this issue