@Module class DatabaseModule
Class that contributes to the object graph CoreComponent.
See Also
<init> |
Class that contributes to the object graph CoreComponent. DatabaseModule() |
provideCharacterFavoriteDao |
Create a provider method binding for CharacterFavoriteDao. fun provideCharacterFavoriteDao(marvelDatabase: MarvelDatabase): CharacterFavoriteDao |
provideCharacterFavoriteRepository |
Create a provider method binding for CharacterFavoriteRepository. fun provideCharacterFavoriteRepository(characterFavoriteDao: CharacterFavoriteDao): CharacterFavoriteRepository |
provideMarvelDatabase |
Create a provider method binding for MarvelDatabase. fun provideMarvelDatabase(context: Context): MarvelDatabase |