Skip to content

Instantly share code, notes, and snippets.

@hamadycisse
Last active November 17, 2019 17:51
Show Gist options
  • Save hamadycisse/8d9d86b656c89c3078e092cfdd86da29 to your computer and use it in GitHub Desktop.
Save hamadycisse/8d9d86b656c89c3078e092cfdd86da29 to your computer and use it in GitHub Desktop.
@UserScope
@Subcomponent(modules = [
AndroidSupportInjectionModule::class,
UserScopeActivityBuilderModule::class,
TextToSpeechModule::class
])
interface UserScopeSubcomponent {
val userScopeActivitiesAndroidInjectorFactories: Map<Class<*>, Provider<AndroidInjector.Factory<*>>>
val speechNotifier: Notifier
@Subcomponent.Factory
interface Factory {
fun create(): UserScopeSubcomponent
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment