Skip to content

Instantly share code, notes, and snippets.

@GuilhE
Created April 14, 2022 09:33
Show Gist options
  • Save GuilhE/39f1dea3088db794f457b17f9ac5eaf1 to your computer and use it in GitHub Desktop.
Save GuilhE/39f1dea3088db794f457b17f9ac5eaf1 to your computer and use it in GitHub Desktop.
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