teller-android / com.levibostian.teller.repository

Package com.levibostian.teller.repository

Types

LocalRepository

abstract class LocalRepository<CACHE : Any, GET_CACHE_REQUIREMENTS : GetCacheRequirements>

Teller repository that manages cache that is obtained and stored on the local device.

OnlineRepository

abstract class OnlineRepository<CACHE, GET_CACHE_REQUIREMENTS : GetCacheRequirements, FETCH_RESPONSE>

Teller repository that manages a cache that is obtained from a network fetch request.

Type Aliases

GetCacheRequirementsTag

typealias GetCacheRequirementsTag = String

OnlineRepositoryCache

typealias OnlineRepositoryCache = Any

OnlineRepositoryFetchResponse

typealias OnlineRepositoryFetchResponse = Any