Skip to content

Instantly share code, notes, and snippets.

@princessdharmy
Last active November 21, 2020 17:48
Show Gist options
  • Save princessdharmy/c16c78cff1db094447174ec9636284a5 to your computer and use it in GitHub Desktop.
Save princessdharmy/c16c78cff1db094447174ec9636284a5 to your computer and use it in GitHub Desktop.
@Singleton
@Component(modules = [CoreModule::class, DataModule::class, DatabaseModule::class])
interface CoreComponent {
@Component.Factory
interface Factory {
fun create(@BindsInstance context: Context): CoreComponent
}
val competitionsRepository: CompetitionsRepository
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment