1// Signature format: 4.0 2package androidx.paging { 3 4 public class AsyncPagedListDiffer<T> { 5 ctor public AsyncPagedListDiffer(androidx.recyclerview.widget.ListUpdateCallback, androidx.recyclerview.widget.AsyncDifferConfig<T!>); 6 ctor public AsyncPagedListDiffer(androidx.recyclerview.widget.RecyclerView.Adapter, androidx.recyclerview.widget.DiffUtil.ItemCallback<T!>); 7 method public void addPagedListListener(androidx.paging.AsyncPagedListDiffer.PagedListListener<T!>); 8 method public androidx.paging.PagedList<T!>? getCurrentList(); 9 method public T? getItem(int); 10 method public int getItemCount(); 11 method public void removePagedListListener(androidx.paging.AsyncPagedListDiffer.PagedListListener<T!>); 12 method public void submitList(androidx.paging.PagedList<T!>?); 13 method public void submitList(androidx.paging.PagedList<T!>?, Runnable?); 14 } 15 16 public static interface AsyncPagedListDiffer.PagedListListener<T> { 17 method public void onCurrentListChanged(androidx.paging.PagedList<T!>?, androidx.paging.PagedList<T!>?); 18 } 19 20 public final class LivePagedListBuilder<Key, Value> { 21 ctor public LivePagedListBuilder(androidx.paging.DataSource.Factory<Key!,Value!>, androidx.paging.PagedList.Config); 22 ctor public LivePagedListBuilder(androidx.paging.DataSource.Factory<Key!,Value!>, int); 23 method public androidx.lifecycle.LiveData<androidx.paging.PagedList<Value!>!> build(); 24 method public androidx.paging.LivePagedListBuilder<Key!,Value!> setBoundaryCallback(androidx.paging.PagedList.BoundaryCallback<Value!>?); 25 method public androidx.paging.LivePagedListBuilder<Key!,Value!> setFetchExecutor(java.util.concurrent.Executor); 26 method public androidx.paging.LivePagedListBuilder<Key!,Value!> setInitialLoadKey(Key?); 27 } 28 29 public abstract class PagedListAdapter<T, VH extends androidx.recyclerview.widget.RecyclerView.ViewHolder> extends androidx.recyclerview.widget.RecyclerView.Adapter<VH> { 30 ctor protected PagedListAdapter(androidx.recyclerview.widget.AsyncDifferConfig<T!>); 31 ctor protected PagedListAdapter(androidx.recyclerview.widget.DiffUtil.ItemCallback<T!>); 32 method public androidx.paging.PagedList<T!>? getCurrentList(); 33 method protected T? getItem(int); 34 method public int getItemCount(); 35 method @Deprecated public void onCurrentListChanged(androidx.paging.PagedList<T!>?); 36 method public void onCurrentListChanged(androidx.paging.PagedList<T!>?, androidx.paging.PagedList<T!>?); 37 method public void submitList(androidx.paging.PagedList<T!>?); 38 method public void submitList(androidx.paging.PagedList<T!>?, Runnable?); 39 } 40 41} 42 43