Created
March 30, 2019 04:31
-
-
Save CarlitosDroid/bd802f62958d32a866ef98b3a47d6b7b to your computer and use it in GitHub Desktop.
The main component
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 = [MainModule::class], dependencies = [CoreComponent::class]) | |
interface MainComponent : BaseComponent<MainActivity> { | |
@Component.Builder | |
interface Builder { | |
fun build(): MainComponent | |
fun coreComponent(module: CoreComponent): Builder | |
fun coreGsonModule(module: CoreGsonModule): Builder | |
fun coreOkHttpModule(module: CoreOkHttpModule): Builder | |
fun sharePreferencesModule(module: SharedPreferencesModule): Builder | |
fun mainModule(module: MainModule): Builder | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment