kpgalligan
11/04/2021, 10:57 AMsingle {
DatabaseHelper(
get(),
getWith("DatabaseHelper"),
Dispatchers.Default
)
}
Generally, the injects are in view model level classes. On iOS, we want to be able to create those classes directly in swift, without needing to try to deal with Koin in Swift. For example: https://github.com/touchlab/KaMPKit/blob/main/shared/src/iosMain/kotlin/co/touchlab/kampkit/NativeViewModel.kt