Created
November 17, 2017 09:48
-
-
Save pokk/b0054f2083400d5399fc541288cc2ac1 to your computer and use it in GitHub Desktop.
app component for my blog.
This file contains hidden or 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 = arrayOf(AppModule::class, | |
RepositoryModule::class, | |
BindingActivityModule::class, | |
AndroidSupportInjectionModule::class)) | |
interface AppComponent : AndroidInjector<App> { | |
/** [AndroidInjector] Builder for using on this whole app. */ | |
@Component.Builder | |
abstract class Builder : AndroidInjector.Builder<App>() | |
/** Providing to dependence components. */ | |
fun context(): Context | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment