teller / 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 : Any, GET_DATA_REQUIREMENTS : GetDataRequirements, FETCH_RESPONSE : Any> : Listener

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

Type Aliases

GetDataRequirementsTag

typealias GetDataRequirementsTag = String