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

PositionalDataSource.LoadRangeParams

public static class PositionalDataSource.LoadRangeParams
extends Object

java.lang.Object
   ↳ androidx.paging.PositionalDataSource.LoadRangeParams


Holder object for inputs to PositionalDataSource.loadRange(LoadRangeParams, LoadRangeCallback).

Summary

Fields

public final int loadSize

Number of items to load.

public final int startPosition

Start position of data to load.

Public constructors

LoadRangeParams(int startPosition, int loadSize)

Inherited methods

Fields

loadSize

public final int loadSize

Number of items to load.

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

startPosition

public final int startPosition

Start position of data to load.

Returned data must start at this position.

Public constructors

LoadRangeParams

public LoadRangeParams (int startPosition, 
                int loadSize)

Parameters
startPosition int

loadSize int