Skip to content

Instantly share code, notes, and snippets.

@maskaravivek
Created May 17, 2018 19:00
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 maskaravivek/b6a566c187543c1c8f62a8f796cbf7c5 to your computer and use it in GitHub Desktop.
Save maskaravivek/b6a566c187543c1c8f62a8f796cbf7c5 to your computer and use it in GitHub Desktop.
@Singleton
@Component(modules = [(AndroidSupportInjectionModule::class), (AppModule::class), (ActivityBuilder::class)])
interface AppComponent {
@Component.Builder
interface Builder {
fun appModule(appModule: AppModule): Builder
fun build(): AppComponent
}
fun inject(application: ExamplesApplication)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment