Skip to content

Instantly share code, notes, and snippets.

@GuilhE
Created April 14, 2022 09:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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