LoadParams

sealed class LoadParams<Key : Any>

Parameters to use for a load request on a PagingDataSource.

Types

Link copied to clipboard
class Append<Key : Any>(val key: Key, loadSize: Int) : PagingDataSource.LoadParams<Key>

Params to load a page of data from a PagingDataSource via PagingDataSource.load to be appended to the end of the list.

Properties

Link copied to clipboard
abstract val key: Key

Key for the page to be loaded.

Link copied to clipboard
val loadSize: Int

Requested number of items to load.

Inheritors

Link copied to clipboard