Skip to content

Most visited

Recently visited

navigation

android.arch.paging

Interfaces

DataSource.Factory<Key, Value> Factory for DataSources. 
DataSource.InvalidatedCallback Invalidation callback for DataSource. 

Classes

DataSource<Key, Value> Base class for loading pages of snapshot data into a PagedList
ItemKeyedDataSource<Key, Value> Incremental data loader for paging keyed content, where loaded content uses previously loaded items as input to future loads. 
ItemKeyedDataSource.LoadCallback<Value> Callback for ItemKeyedDataSource loadBefore(LoadParams, LoadCallback) and loadAfter(LoadParams, LoadCallback) to return data. 
ItemKeyedDataSource.LoadInitialCallback<Value> Callback for loadInitial(LoadInitialParams, LoadInitialCallback) to return data and, optionally, position/count information. 
ItemKeyedDataSource.LoadInitialParams<Key> Holder object for inputs to loadInitial(LoadInitialParams, LoadInitialCallback)
ItemKeyedDataSource.LoadParams<Key> Holder object for inputs to loadBefore(LoadParams, LoadCallback) and loadAfter(LoadParams, LoadCallback)
LivePagedListBuilder<Key, Value> Builder for LiveData<PagedList>, given a DataSource.Factory and a PagedList.Config
LivePagedListProvider<Key, Value> This class is deprecated. use LivePagedListBuilder to construct a LiveData<PagedList>. It provides the same construction capability with more customization, and simpler defaults. The role of DataSource construction has been separated out to DataSource.Factory to access or provide a self-invalidating sequence of DataSources. If you were acquiring this from Room, you can switch to having your Dao return a DataSource.Factory instead, and create a LiveData<PagedList> with a LivePagedListBuilder.  
PagedList<T> Lazy loading list that pages in content from a DataSource
PagedList.BoundaryCallback<T> Signals when a PagedList has reached the end of available data. 
PagedList.Builder<Key, Value> Builder class for PagedList. 
PagedList.Callback Callback signaling when content is loaded into the list. 
PagedList.Config Configures how a PagedList loads content from its DataSource. 
PagedList.Config.Builder Builder class for PagedList.Config
PagedListAdapter<T, VH extends RecyclerView.ViewHolder> RecyclerView.Adapter base class for presenting paged data from PagedLists in a RecyclerView
PagedListAdapterHelper<T> Helper object for mapping a PagedList into a RecyclerView.Adapter
PageKeyedDataSource<Key, Value> Incremental data loader for page-keyed content, where requests return keys for next/previous pages. 
PageKeyedDataSource.LoadCallback<Key, Value> Callback for PageKeyedDataSource loadBefore(LoadParams, LoadCallback) and loadAfter(LoadParams, LoadCallback) to return data. 
PageKeyedDataSource.LoadInitialCallback<Key, Value> Callback for loadInitial(LoadInitialParams, LoadInitialCallback) to return data and, optionally, position/count information. 
PageKeyedDataSource.LoadInitialParams<Key> Holder object for inputs to loadInitial(LoadInitialParams, LoadInitialCallback)
PageKeyedDataSource.LoadParams<Key> Holder object for inputs to loadBefore(LoadParams, LoadCallback) and loadAfter(LoadParams, LoadCallback)
PositionalDataSource<T> Position-based data loader for a fixed-size, countable data set, supporting fixed-size loads at arbitrary page positions. 
PositionalDataSource.LoadInitialCallback<T> Callback for loadInitial(LoadInitialParams, LoadInitialCallback) to return data, position, and count. 
PositionalDataSource.LoadInitialParams Holder object for inputs to loadInitial(LoadInitialParams, LoadInitialCallback)
PositionalDataSource.LoadRangeCallback<T> Callback for PositionalDataSource loadRange(LoadRangeParams, LoadRangeCallback) to return data. 
PositionalDataSource.LoadRangeParams Holder object for inputs to loadRange(LoadRangeParams, LoadRangeCallback)
This site uses cookies to store your preferences for site-specific language and display options.

Get the latest Android developer news and tips that will help you find success on Google Play.

* Required Fields

Hooray!

Follow Google Developers on WeChat

Browse this site in ?

You requested a page in , but your language preference for this site is .

Would you like to change your language preference and browse this site in ? If you want to change your language preference later, use the language menu at the bottom of each page.

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a short survey?
Help us improve the Android developer experience. (Dec 2017 Android Platform & Tools Survey)