ItemKeyedDataSource.LoadParams
public
static
class
ItemKeyedDataSource.LoadParams
extends Object
Holder object for inputs to loadBefore(LoadParams, LoadCallback)
and loadAfter(LoadParams, LoadCallback) .
Summary
Fields | |
|---|---|
public
final
Key |
key
Load items before/after this key. |
public
final
int |
requestedLoadSize
Requested number of items to load. |
Public constructors | |
|---|---|
ItemKeyedDataSource.LoadParams(Key key, int requestedLoadSize)
|
|
Inherited methods | |
|---|---|
|
From class
java.lang.Object
Object
clone()
boolean
equals(Object arg0)
void
finalize()
final
Class<?>
getClass()
int
hashCode()
final
void
notify()
final
void
notifyAll()
String
toString()
final
void
wait(long arg0, int arg1)
final
void
wait(long arg0)
final
void
wait()
| |
Fields
key
Key key
Load items before/after this key.
Returned data must begin directly adjacent to this position.
requestedLoadSize
int requestedLoadSize
Requested number of items to load.
Returned page can be of this size, but it may be altered if that is easier, e.g. a network data source where the backend defines page size.
Public constructors
ItemKeyedDataSource.LoadParams
ItemKeyedDataSource.LoadParams (Key key, int requestedLoadSize)
| Parameters | |
|---|---|
key |
Key |
requestedLoadSize |
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