PositionalDataSource.LoadRangeParams

Added in 2.0.0
Deprecated in 3.0.0


Holder object for inputs to loadRange.

Summary

Public constructors

LoadRangeParams(startPosition: Int, loadSize: Int)

This function is deprecated. PositionalDataSource is deprecated and has been replaced by PagingSource

android

Public properties

Int

This property is deprecated. PositionalDataSource is deprecated and has been replaced by PagingSource

android
Int

This property is deprecated. PositionalDataSource is deprecated and has been replaced by PagingSource

android

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.