Last active
August 1, 2019 18:07
-
-
Save Audhil/12951d7db98679c6ae2052c61507c5a6 to your computer and use it in GitHub Desktop.
dagger2 component - https://proandroiddev.com/unit-tests-with-dagger2-retrofit2-rxjava2-and-mockk-android-1c268fa77957
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 = [ | |
(ApplicationModule::class) | |
] | |
) | |
interface ApplicationComponent { | |
fun inject(into: GDelegate) | |
fun inject(into: BaseRepository) | |
fun inject(into: BaseViewModel) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment