Last active
November 17, 2019 19:04
-
-
Save hamadycisse/118fe0c77eaf0f9540463548c10da5d8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Singleton | |
@Component(modules = [ | |
AppModule::class, | |
AndroidSupportInjectionModule::class, | |
ActivityScopeBuilderModule::class, | |
UserScopeSubcomponentModule::class | |
]) | |
interface AppComponent : AndroidInjector<OurApp> { | |
fun getUserScopeSubcomponentFactory() : UserScopeSubcomponent.Factory | |
@Component.Builder | |
interface Builder { | |
@BindsInstance | |
fun application(application: OurApp): Builder | |
fun build(): AppComponent | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment