Skip to content

Instantly share code, notes, and snippets.

@kirich1409
Created November 11, 2019 20:23
Show Gist options
  • Save kirich1409/fbd1122c43663dbbc6a7cdbc2880703a to your computer and use it in GitHub Desktop.
Save kirich1409/fbd1122c43663dbbc6a7cdbc2880703a to your computer and use it in GitHub Desktop.
@Component(
modules = [
AppModule::class,
ComponentProvidersModule::class,
FragmentBindsModule::class,
ActivityBindsModule::class
]
)
interface AppComponent {
fun inject(factory: InjectComponentFactory)
val activityProviders: Map<Class<out Activity>, @JvmSuppressWildcards Provider<Activity>>
val fragmentFactory: FragmentFactory
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment