{% setvar book_path %}/reference/kotlin/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

PositionalDataSource.LoadRangeParams

{% setvar page_path %}androidx/paging/PositionalDataSource.LoadRangeParams.html{% endsetvar %} {% setvar can_switch %}1{% endsetvar %} {% include "reference/_kotlin_switcher2.md" %}

open class PositionalDataSource.LoadRangeParams


Holder object for inputs to loadRange.

Summary

Public properties

Int

Number of items to load.

Int

START position of data to load.

Public constructors

LoadRangeParams(startPosition: Int, loadSize: Int)

Public properties

loadSize

val loadSizeInt

Number of items to load.

Returned data must be of this size, unless at end of the list.

startPosition

val startPositionInt

START position of data to load.

Returned data must start at this position.

Public constructors

LoadRangeParams

LoadRangeParams(startPosition: Int, loadSize: Int)