Category "koin"

Gradle problems of adding koin test dependencies

I'm a beginner with gradle and would like to use koin in my Kotlin project. However, I get the following error Execution failed for task ':compileTestKotlin'. &

Default value for injection parameter

A simplified example: I have the following Koin module: val testModule = { factory<User> { (name: String) -> User(name) } } The Use

Scope a viewmodel between 2 fragments with koin 2.2.3 and jetpack navigation

My project is on Koin 2.2.3 and I search to scope a viewModel in function of a graph. In my ViewModelModule I got this: val Int.navQualifier: Qualifier get() =