Google se compromete a impulsar la igualdad racial para las comunidades afrodescendientes. Obtén información al respecto.

LoadRangeParams

open class LoadRangeParams
kotlin.Any
   ↳ androidx.paging.PositionalDataSource.LoadRangeParams

Holder object for inputs to loadRange.

Summary

Public constructors
<init>(startPosition: Int, loadSize: Int)

Holder object for inputs to loadRange.

Properties
Int

Number of items to load.

Int

START position of data to load.

Public constructors

<init>

LoadRangeParams(
    startPosition: Int,
    loadSize: Int)

Holder object for inputs to loadRange.

Properties

loadSize

val loadSize: Int

Number of items to load.

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

startPosition

val startPosition: Int

START position of data to load.

Returned data must start at this position.