Question, I have multiple modules, both pure-kotli...
# koin
t
Question, I have multiple modules, both pure-kotlin and Android. My idea was to have all the modules load a service-provider wich provides a Koin-module. Therefor, I only need to create the Modules. I want to do as much as possible in Kotlin-only modules. The simplest way to do this is by using kotlin-core everywhere with the exception of the base-app where I use those modules... Is this correct and is this possible?
a
correct approach, the hardest part is to avoid coupling to Android 🙂
t
Thx. Haha, the less Android, the better. First time using dependency injection with a framework 🙂 Was first doing everything myself with the serviceProvider, but when it get's more complicated... Up to dependency injection inversion 😉. https://sites.google.com/site/unclebobconsultingllc/blogs-by-robert-martin/dependency-injection-inversion
a
🙂 👍