Skip to content

Instantly share code, notes, and snippets.

@pedromassango
Created October 3, 2018 10:25
Show Gist options
  • Select an option

  • Save pedromassango/39d7f0b6d84353a4ff6ff8ce626773a3 to your computer and use it in GitHub Desktop.

Select an option

Save pedromassango/39d7f0b6d84353a4ff6ff8ce626773a3 to your computer and use it in GitHub Desktop.
This is where we should initialize our Koin framework, by passing the modules that we want to use
class MyApp: Application() {
override fun onCreate() {
super.onCreate()
// call this to setup Koin with your modules
startKoin(this, listOf(DependeciesModule.appModule) )
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment