Skip to content

Instantly share code, notes, and snippets.

@filipproch
Created March 19, 2018 06:45
Show Gist options
  • Save filipproch/7cf46f5061b85d285593048013f52f91 to your computer and use it in GitHub Desktop.
Save filipproch/7cf46f5061b85d285593048013f52f91 to your computer and use it in GitHub Desktop.
class MyApp : Application(), KodeinAware {
override val kodein: Kodein = Kodein {
bind<TasksRepository>() with singleton {
FakeTasksRepository()
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment