CharactersPageDataSource |
Incremental data loader for page-keyed content, where requests return keys for next/previous pages. Obtaining paginated the Marvel characters. open class CharactersPageDataSource : PageKeyedDataSource<Int, CharacterItem> |
CharactersPageDataSourceFactory |
Data source factory which also provides a way to observe the last created data source. This allows us to channel its network request status etc back to the UI. class CharactersPageDataSourceFactory : Factory<Int, CharacterItem> |
PAGE_INIT_ELEMENTS |
const val PAGE_INIT_ELEMENTS: Int |
PAGE_MAX_ELEMENTS |
const val PAGE_MAX_ELEMENTS: Int |