Created
October 12, 2017 13:56
-
-
Save MyDogTom/11aec8d64906bfba61ba080b6b2e006a to your computer and use it in GitHub Desktop.
Article: Modularization. Gist2. LoginComponent
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
@Component( | |
modules = arrayOf(LoginModule::class), | |
dependencies = arrayOf(LoggedOutComponent::class)) | |
@FeatureScope | |
interface LoginComponent { | |
fun inject(activity: LogInActivity) | |
@Component.Builder | |
interface Builder { | |
fun loggedOutComponent(component: LoggedOutComponent): Builder | |
fun build(): LoginComponent | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment