| // Signature format: 3.0 |
| package androidx.paging { |
| |
| public class AsyncPagedListDiffer<T> { |
| ctor public AsyncPagedListDiffer(androidx.recyclerview.widget.RecyclerView.Adapter<?> adapter, androidx.recyclerview.widget.DiffUtil.ItemCallback<T> diffCallback); |
| ctor public AsyncPagedListDiffer(androidx.recyclerview.widget.ListUpdateCallback listUpdateCallback, androidx.recyclerview.widget.AsyncDifferConfig<T> config); |
| method public void addLoadStateListener(kotlin.jvm.functions.Function3<? super androidx.paging.PagedList.LoadType,? super androidx.paging.PagedList.LoadState,? super java.lang.Throwable,kotlin.Unit> listener); |
| method public void addPagedListListener(androidx.paging.AsyncPagedListDiffer.PagedListListener<T> listener); |
| method public final void addPagedListListener(kotlin.jvm.functions.Function2<? super androidx.paging.PagedList<T>,? super androidx.paging.PagedList<T>,kotlin.Unit> callback); |
| method public androidx.paging.PagedList<T>? getCurrentList(); |
| method public T? getItem(int index); |
| method public int getItemCount(); |
| method public void removeLoadStateListener(kotlin.jvm.functions.Function3<? super androidx.paging.PagedList.LoadType,? super androidx.paging.PagedList.LoadState,? super java.lang.Throwable,kotlin.Unit> listener); |
| method public void removePagedListListener(androidx.paging.AsyncPagedListDiffer.PagedListListener<T> listener); |
| method public final void removePagedListListener(kotlin.jvm.functions.Function2<? super androidx.paging.PagedList<T>,? super androidx.paging.PagedList<T>,kotlin.Unit> callback); |
| method public void submitList(androidx.paging.PagedList<T>? pagedList); |
| method public void submitList(androidx.paging.PagedList<T>? pagedList, Runnable? commitCallback); |
| property public androidx.paging.PagedList<T>? currentList; |
| property public int itemCount; |
| } |
| |
| public static interface AsyncPagedListDiffer.PagedListListener<T> { |
| method public void onCurrentListChanged(androidx.paging.PagedList<T>? previousList, androidx.paging.PagedList<T>? currentList); |
| } |
| |
| public final class AsyncPagedListDifferKt { |
| ctor public AsyncPagedListDifferKt(); |
| } |
| |
| public final class LivePagedListBuilder<Key, Value> { |
| ctor public LivePagedListBuilder(androidx.paging.DataSource.Factory<Key,Value> dataSourceFactory, androidx.paging.PagedList.Config config); |
| ctor public LivePagedListBuilder(androidx.paging.DataSource.Factory<Key,Value> dataSourceFactory, int pageSize); |
| method public androidx.lifecycle.LiveData<androidx.paging.PagedList<Value>> build(); |
| method public androidx.paging.LivePagedListBuilder<Key,Value> setBoundaryCallback(androidx.paging.PagedList.BoundaryCallback<Value>? boundaryCallback); |
| method public androidx.paging.LivePagedListBuilder<Key,Value> setFetchExecutor(java.util.concurrent.Executor fetchExecutor); |
| method public androidx.paging.LivePagedListBuilder<Key,Value> setInitialLoadKey(Key? key); |
| } |
| |
| public final class LivePagedListKt { |
| ctor public LivePagedListKt(); |
| method public static <Key, Value> androidx.lifecycle.LiveData<androidx.paging.PagedList<Value>> toLiveData(androidx.paging.DataSource.Factory<Key,Value>, androidx.paging.PagedList.Config config, Key? initialLoadKey = null, androidx.paging.PagedList.BoundaryCallback<Value>? boundaryCallback = null, java.util.concurrent.Executor fetchExecutor = ArchTaskExecutor.getIOThreadExecutor()); |
| method public static <Key, Value> androidx.lifecycle.LiveData<androidx.paging.PagedList<Value>> toLiveData(androidx.paging.DataSource.Factory<Key,Value>, int pageSize, Key? initialLoadKey = null, androidx.paging.PagedList.BoundaryCallback<Value>? boundaryCallback = null, java.util.concurrent.Executor fetchExecutor = ArchTaskExecutor.getIOThreadExecutor()); |
| } |
| |
| public abstract class PagedListAdapter<T, VH extends androidx.recyclerview.widget.RecyclerView.ViewHolder> extends androidx.recyclerview.widget.RecyclerView.Adapter<VH> { |
| ctor protected PagedListAdapter(androidx.recyclerview.widget.DiffUtil.ItemCallback<T> diffCallback); |
| ctor protected PagedListAdapter(androidx.recyclerview.widget.AsyncDifferConfig<T> config); |
| method public void addLoadStateListener(kotlin.jvm.functions.Function3<? super androidx.paging.PagedList.LoadType,? super androidx.paging.PagedList.LoadState,? super java.lang.Throwable,kotlin.Unit> callback); |
| method public androidx.paging.PagedList<T>? getCurrentList(); |
| method protected T? getItem(int position); |
| method public int getItemCount(); |
| method @Deprecated public void onCurrentListChanged(androidx.paging.PagedList<T>? currentList); |
| method public void onCurrentListChanged(androidx.paging.PagedList<T>? previousList, androidx.paging.PagedList<T>? currentList); |
| method public void onLoadStateChanged(androidx.paging.PagedList.LoadType type, androidx.paging.PagedList.LoadState state, Throwable? error); |
| method public void removeLoadStateListener(kotlin.jvm.functions.Function3<? super androidx.paging.PagedList.LoadType,? super androidx.paging.PagedList.LoadState,? super java.lang.Throwable,kotlin.Unit> callback); |
| method public void submitList(androidx.paging.PagedList<T>? pagedList); |
| method public void submitList(androidx.paging.PagedList<T>? pagedList, Runnable? commitCallback); |
| property public androidx.paging.PagedList<T>? currentList; |
| } |
| |
| public final class PagedStorageDiffHelperKt { |
| ctor public PagedStorageDiffHelperKt(); |
| } |
| |
| } |
| |