Created
March 30, 2019 04:03
-
-
Save CarlitosDroid/7765e137374a062d2bddd6c5d3da4d7d to your computer and use it in GitHub Desktop.
The Dagger Core Component in the Core Module(Android Library)
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 = [ | |
CoreGsonModule::class, | |
CoreOkHttpModule::class, | |
SharedPreferencesModule::class, | |
UserDataModule::class] | |
) | |
interface CoreComponent { | |
@Component.Builder | |
interface Builder { | |
fun build(): CoreComponent | |
fun coreOkHttpModule(module: CoreOkHttpModule): Builder | |
fun sharedPreferencesModuleModule(module: SharedPreferencesModule): Builder | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment