Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. Google에서 어떤 노력을 하고 있는지 확인하세요.

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