koin-samples
koin-samples copied to clipboard
Some complete Koin sample apps
This PR contains - migration to `AndroidX` - upgrade `Koin` to version 3.1.x - upgrade `RxJava` and its related dependencies to version 3 - enable `viewBinding` and remove `kotlin-android-extensions` -...
If we run the App from master branch, user will get the following error: ``` E/AndroidRuntime: FATAL EXCEPTION: main Process: koin.sampleapp.mvvm, PID: 21906 java.lang.RuntimeException: Unable to create application fr.ekito.myweatherapp.MainApplication: org.koin.core.error.NoPropertyFileFoundException:...
use **androidFileProperties()** instead of fileProperties() because koin.properties in assets fold Ref: https://insert-koin.io/docs/2.0/quick-references/starting-koin/#starting-koin-for-android ```KOTLIN class MainApplication : Application() { override fun onCreate() { super.onCreate() startKoin { // use AndroidLogger as Koin...
Sample projects have dependencies to common module. It would be much better to have a standalone sample projects.
Hello, just pulled your sample, trying to run your tests, but getting this errors in `ModuleCheckTest` . What did i do wrong? `org.koin.core.error.InstanceCreationException: Could not create instance for [type:Factory,class:'fr.ekito.myweatherapp.view.detail.DetailViewModel'] at...