Last active
May 26, 2020 01:28
-
-
Save diousk/2ec1d65de9eff96903fd400d08eba658 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 = [ | |
AndroidSupportInjectionModule::class, | |
ActivityBuilder::class, | |
AppSubcomponents::class, | |
AppModule::class | |
] | |
) | |
interface AppComponent : AndroidInjector<App> { | |
@Component.Factory | |
interface Factory : AndroidInjector.Factory<App> | |
// expose session manager to control lifecycle of SessionComponent | |
fun sessionManager(): SessionManager | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment