PageKeyedDataSource.LoadParams

Added in 2.0.0
Deprecated in 3.0.0


Holder object for inputs to loadBefore and loadAfter.

Parameters
<Key : Any>

Type of data used to query pages.

Summary

Public constructors

<Key : Any> LoadParams(key: Key, requestedLoadSize: Int)
android

Public properties

Key

Load items before/after this key.

android
Int

Requested number of items to load.

android

Public constructors

LoadParams

<Key : Any> LoadParams(key: Key, requestedLoadSize: Int)
Parameters
<Key : Any>

Type of data used to query pages.

key: Key

Load items before/after this key.

Returned data must begin directly adjacent to this position.

requestedLoadSize: Int

Requested number of items to load.

Returned page can be of this size, but it may be altered if that is easier, e.g. a network data source where the backend defines page size.

Public properties

key

val key: Key

Load items before/after this key.

Returned data must begin directly adjacent to this position.

requestedLoadSize

val requestedLoadSizeInt

Requested number of items to load.

Returned page can be of this size, but it may be altered if that is easier, e.g. a network data source where the backend defines page size.