core / com.vmadalin.core.di.modules / DatabaseModule

DatabaseModule

@Module class DatabaseModule

Class that contributes to the object graph CoreComponent.

See Also

Module

Constructors

<init>

Class that contributes to the object graph CoreComponent.

DatabaseModule()

Functions

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