Created
July 28, 2020 16:20
-
-
Save tizisdeepan/c41501ccbf746455e6cdd4039d88255f 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 = [ | |
ActivityModule::class, | |
ViewModelModule::class, | |
NetworkModule::class]) | |
interface AppComponent : AndroidInjector<DaggerApplication> { | |
@Component.Factory | |
interface Factory { | |
fun create(@BindsInstance application: Application): AppComponent | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment