class MarvelRepository
Repository module for handling marvel API network operations MarvelService.
<init> |
Repository module for handling marvel API network operations MarvelService. MarvelRepository(service: MarvelService) |
getCharacter |
Get all info of Marvel character. suspend fun getCharacter(id: Long): BaseResponse<CharacterResponse> |
getCharacters |
Get all Marvel characters by paged. suspend fun getCharacters(offset: Int, limit: Int): BaseResponse<CharacterResponse> |