Last active
February 9, 2021 12:07
-
-
Save prokash-sarkar/c3f368c62f3280c176f8652bcb2bfb85 to your computer and use it in GitHub Desktop.
This Gist is a part of the Article: https://prokash-sarkar.medium.com/unit-testing-with-dagger-2-brewing-a-potion-with-fakes-mocks-and-custom-rules-in-android-7f0ab7b22cb
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
@Module | |
interface AppModuleBinds { | |
@Singleton | |
@Binds | |
fun bindRepository(defaultDataRepository: DefaultDataRepository): DataRepository | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment