DataSource.InvalidatedCallback
public
static
interface
DataSource.InvalidatedCallback
android.arch.paging.DataSource.InvalidatedCallback |
Invalidation callback for DataSource.
Used to signal when a DataSource a data source has become invalid, and that a new data source is needed to continue loading data.
Summary
Public methods | |
---|---|
abstract
void
|
onInvalidated()
Called when the data backing the list has become invalid. |
Public methods
onInvalidated
void onInvalidated ()
Called when the data backing the list has become invalid. This callback is typically used to signal that a new data source is needed.
This callback will be invoked on the thread that calls invalidate()
. It is valid
for the data source to invalidate itself during its load methods, or for an outside
source to invalidate it.
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