PositionalDataSource.LoadRangeParams
public
static
class
PositionalDataSource.LoadRangeParams
extends Object
java.lang.Object | |
↳ | android.arch.paging.PositionalDataSource.LoadRangeParams |
Holder object for inputs to 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 | |
---|---|
PositionalDataSource.LoadRangeParams(int startPosition, int loadSize)
|
Inherited methods | |
---|---|
Fields
loadSize
int loadSize
Number of items to load.
Returned data must be of this size, unless at end of the list.
startPosition
int startPosition
Start position of data to load.
Returned data must start at this position.
Public constructors
PositionalDataSource.LoadRangeParams
PositionalDataSource.LoadRangeParams (int startPosition, int loadSize)
Parameters | |
---|---|
startPosition |
int |
loadSize |
int |
Interfaces
Classes
- AsyncPagedListDiffer
- DataSource
- DataSource.Factory
- ItemKeyedDataSource
- ItemKeyedDataSource.LoadCallback
- ItemKeyedDataSource.LoadInitialCallback
- ItemKeyedDataSource.LoadInitialParams
- ItemKeyedDataSource.LoadParams
- LivePagedListBuilder
- PagedList
- PagedList.BoundaryCallback
- PagedList.Builder
- PagedList.Callback
- PagedList.Config
- PagedList.Config.Builder
- PagedListAdapter
- PageKeyedDataSource
- PageKeyedDataSource.LoadCallback
- PageKeyedDataSource.LoadInitialCallback
- PageKeyedDataSource.LoadInitialParams
- PageKeyedDataSource.LoadParams
- PositionalDataSource
- PositionalDataSource.LoadInitialCallback
- PositionalDataSource.LoadInitialParams
- PositionalDataSource.LoadRangeCallback
- PositionalDataSource.LoadRangeParams
- RxPagedListBuilder