Slide 51
Slide 51 text
@Singleton
@Component(modules = [AndroidInjectionModule::class, AppModule::class, BuildersModule::class])
interface AppComponent {
@Component.Builder
interface Builder {
@BindsInstance
fun application(application: AnimalApp): Builder
fun build(): AppComponent
}
fun inject(app: AnimalApp)