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

PositionalDataSource.LoadRangeParams

open class PositionalDataSource.LoadRangeParams


Holder object for inputs to loadRange.

Summary

Public constructors

LoadRangeParams(startPosition: Int, loadSize: Int)

Public properties

Int

Number of items to load.

Int

START position of data to load.

Public constructors

LoadRangeParams

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.