PositionalDataSource.LoadRangeParams

public class PositionalDataSource.LoadRangeParams


Holder object for inputs to loadRange.

Summary

Public fields

final @NonNull int

Number of items to load.

final @NonNull int

START position of data to load.

Public constructors

LoadRangeParams(@NonNull int startPosition, @NonNull int loadSize)

Public fields

loadSize

@NonNull
public final @NonNull int loadSize

Number of items to load.

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

startPosition

@NonNull
public final @NonNull int startPosition

START position of data to load.

Returned data must start at this position.

Public constructors

LoadRangeParams

@NonNull
public final LoadRangeParams(@NonNull int startPosition, @NonNull int loadSize)