ItemKeyedDataSource.LoadInitialParams
public
static
class
ItemKeyedDataSource.LoadInitialParams
extends Object
java.lang.Object | |
↳ | android.arch.paging.ItemKeyedDataSource.LoadInitialParams<Key> |
Holder object for inputs to loadInitial(LoadInitialParams, LoadInitialCallback)
.
Summary
Fields | |
---|---|
public
final
boolean |
placeholdersEnabled
Defines whether placeholders are enabled, and whether the total count passed to
|
public
final
Key |
requestedInitialKey
Load items around this key, or at the beginning of the data set if |
public
final
int |
requestedLoadSize
Requested number of items to load. |
Public constructors | |
---|---|
ItemKeyedDataSource.LoadInitialParams(Key requestedInitialKey, int requestedLoadSize, boolean placeholdersEnabled)
|
Inherited methods | |
---|---|
Fields
placeholdersEnabled
boolean placeholdersEnabled
Defines whether placeholders are enabled, and whether the total count passed to
onResult(List, int, int)
will be ignored.
requestedInitialKey
Key requestedInitialKey
Load items around this key, or at the beginning of the data set if null
is
passed.
Note that this key is generally a hint, and may be ignored if you want to always load from the beginning.
requestedLoadSize
int requestedLoadSize
Requested number of items to load.
Note that this may be larger than available data.
Public constructors
ItemKeyedDataSource.LoadInitialParams
ItemKeyedDataSource.LoadInitialParams (Key requestedInitialKey, int requestedLoadSize, boolean placeholdersEnabled)
Parameters | |
---|---|
requestedInitialKey |
Key |
requestedLoadSize |
int |
placeholdersEnabled |
boolean |
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