Skip to content

Instantly share code, notes, and snippets.

@tizisdeepan
Created July 28, 2020 16:20
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 tizisdeepan/c41501ccbf746455e6cdd4039d88255f to your computer and use it in GitHub Desktop.
Save tizisdeepan/c41501ccbf746455e6cdd4039d88255f to your computer and use it in GitHub Desktop.
@Singleton
@Component(modules = [
ActivityModule::class,
ViewModelModule::class,
NetworkModule::class])
interface AppComponent : AndroidInjector<DaggerApplication> {
@Component.Factory
interface Factory {
fun create(@BindsInstance application: Application): AppComponent
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment