Slide 50
Slide 50 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)