@Module class CharactersListModule
Class that contributes to the object graph CharactersListComponent.
See Also
<init> |
Class that contributes to the object graph CharactersListComponent. CharactersListModule(fragment: CharactersListFragment) |
fragment |
val fragment: CharactersListFragment |
providesCharacterItemMapper |
Create a provider method binding for CharacterItemMapper. fun providesCharacterItemMapper(): CharacterItemMapper |
providesCharactersListAdapter |
Create a provider method binding for CharactersListAdapter. fun providesCharactersListAdapter(viewModel: CharactersListViewModel): CharactersListAdapter |
providesCharactersListViewModel |
Create a provider method binding for CharactersListViewModel. fun providesCharactersListViewModel(dataFactory: CharactersPageDataSourceFactory): CharactersListViewModel |
providesCharactersPageDataSource |
Create a provider method binding for CharactersPageDataSource. fun providesCharactersPageDataSource(viewModel: CharactersListViewModel, repository: MarvelRepository, mapper: CharacterItemMapper): CharactersPageDataSource |