Skip to content

Instantly share code, notes, and snippets.

@iChintanSoni
Last active April 29, 2018 16:43
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 iChintanSoni/1e3741004bb69da1a9595630c0f4508d to your computer and use it in GitHub Desktop.
Save iChintanSoni/1e3741004bb69da1a9595630c0f4508d to your computer and use it in GitHub Desktop.
@Component(modules = [AndroidSupportInjectionModule::class, AppModule::class, ActivityModule::class])
interface AppComponent : AndroidInjector<DaggerApplication> {
@Component.Builder
interface Builder {
@BindsInstance
fun application(application: Application): Builder
fun build(): AppComponent
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment