PositionalDataSource.LoadRangeParams

public class PositionalDataSource.LoadRangeParams


Holder object for inputs to loadRange.

Summary

Public fields

final int

Number of items to load.

final int

START position of data to load.

Public constructors

LoadRangeParams(int startPosition, int loadSize)

Public fields

loadSize

@NonNull
public final int loadSize

Number of items to load.

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

startPosition

@NonNull
public final int startPosition

START position of data to load.

Returned data must start at this position.

Public constructors

LoadRangeParams

public final LoadRangeParams(int startPosition, int loadSize)