touchlab / KaMPKit

KaMP Kit by Touchlab. A collection of code & tools designed to get your mobile team started quickly w/Kotlin Multiplatform
https://touchlab.co/
Apache License 2.0
2.2k stars 199 forks source link

Koin Refactor #21

Closed samhill303 closed 4 years ago

samhill303 commented 4 years ago

Remove ServiceRegistry, and instead use koin's and it's setup. Moved more of the db setup into Koin.

Dependencies that don't have any direct platform needs go in the core module. Dependencies which are platform specific go in the platform module. Dependencies which must be provided by the app (really only context) can be added when calling initKoin