com.levibostian.teller.type.Age |
Custom response class to represent a length of time. This is created because Duration is Java 8 only (requires API 26 on Android). I also did not want to bring in a library for this one very small need so I decided to create my own thing.
|
com.levibostian.teller.repository.GetCacheRequirementsTag |
|
com.levibostian.teller.cachestate.LocalCacheState |
Local response (response obtained from the user or device, no network fetch call) in apps are in 1 of 2 different types of state:
|
com.levibostian.teller.cachestate.listener.LocalCacheStateListener |
|
com.levibostian.teller.testing.cachestate.LocalCacheStateTesting |
Convenient utility to generate instances of LocalCacheState used for testing purposes.
|
com.levibostian.teller.repository.LocalRepository |
Teller repository that manages cache that is obtained and stored on the local device.
|
com.levibostian.teller.cachestate.OnlineCacheState |
Holds the current state of response that is obtained via a network call. This response structure is meant to be passed out of Teller and to the application using Teller so it can parse it and display the response representation in the app.
The online response state is not manipulated here. It is only stored.
Data in apps are in 1 of 3 different types of state:
|
com.levibostian.teller.cachestate.listener.OnlineCacheStateCacheListener |
|
com.levibostian.teller.cachestate.listener.OnlineCacheStateFetchingListener |
|
com.levibostian.teller.cachestate.listener.OnlineCacheStateListener |
|
com.levibostian.teller.cachestate.listener.OnlineCacheStateNoCacheStateListener |
|
com.levibostian.teller.testing.cachestate.OnlineCacheStateTesting |
Convenient utility to generate instances of OnlineCacheState used for testing purposes.
|
com.levibostian.teller.testing.cachestate.OnlineCacheStateTestingDsl |
Defining scope for OnlineCacheStateTesting DSL.
|
com.levibostian.teller.repository.OnlineRepository |
Teller repository that manages a cache that is obtained from a network fetch request.
|
com.levibostian.teller.repository.OnlineRepositoryCache |
|
com.levibostian.teller.repository.OnlineRepositoryFetchResponse |
|
com.levibostian.teller.testing.repository.OnlineRepositoryRefreshResultTesting |
Convenient utility to generate instances of OnlineRepository.RefreshResult used for testing purposes.
|
com.levibostian.teller.testing.repository.OnlineRepositoryTesting |
Used for testing purposes to initialize the state of a OnlineRepository subclass instance.
|
com.levibostian.teller.testing.repository.OnlineRepositoryTestingDsl |
Defining scope for OnlineRepositoryTesting DSL.
|
com.levibostian.teller.error.ServerNotAvailableException |
|
com.levibostian.teller.Teller |
|
com.levibostian.teller.error.UnknownHttpResponseError |
|
com.levibostian.teller.error.UserNotFoundException |
|