Skip to content

Instantly share code, notes, and snippets.

@GuilhE
Created Apr 14, 2022
Embed
What would you like to do?
Medium articles - KMM with MVI+FSM
expect fun platformModule(): Module
object DependencyInjection {
fun initKoin(appDeclaration: KoinAppDeclaration) {
startKoin {
appDeclaration()
modules(commonModule(), platformModule())
}
}
internal fun commonModule() = module { ... }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment