features/characters_list / com.vmadalin.dynamicfeatures.characterslist.ui.detail.di / CharacterDetailModule / providesCharacterDetailViewModel

providesCharacterDetailViewModel

@Provides fun providesCharacterDetailViewModel(marvelRepository: MarvelRepository, characterFavoriteRepository: CharacterFavoriteRepository, characterDetailMapper: CharacterDetailMapper): CharacterDetailViewModel

Create a provider method binding for CharacterDetailViewModel.

Parameters

marvelRepository -

characterFavoriteRepository - handler character favorite repository

characterDetailMapper - mapper to parse view model

Return
instance of view model.