// Signature format: 4.0 package androidx.paging { public final class CachedPagingDataKt { method @CheckResult public static kotlinx.coroutines.flow.Flow> cachedIn(kotlinx.coroutines.flow.Flow>, kotlinx.coroutines.CoroutineScope scope); } public final class CombinedLoadStates { ctor public CombinedLoadStates(androidx.paging.LoadState refresh, androidx.paging.LoadState prepend, androidx.paging.LoadState append, androidx.paging.LoadStates source, optional androidx.paging.LoadStates? mediator); method public androidx.paging.LoadState getAppend(); method public androidx.paging.LoadStates? getMediator(); method public androidx.paging.LoadState getPrepend(); method public androidx.paging.LoadState getRefresh(); method public androidx.paging.LoadStates getSource(); method public boolean hasError(); method public boolean isIdle(); property public androidx.paging.LoadState append; property public boolean hasError; property public boolean isIdle; property public androidx.paging.LoadStates? mediator; property public androidx.paging.LoadState prepend; property public androidx.paging.LoadState refresh; property public androidx.paging.LoadStates source; } public final class CombinedLoadStatesKt { method public static suspend Object? awaitNotLoading(kotlinx.coroutines.flow.Flow, kotlin.coroutines.Continuation); } public abstract class DataSource { method @AnyThread public void addInvalidatedCallback(androidx.paging.DataSource.InvalidatedCallback onInvalidatedCallback); method @AnyThread public void invalidate(); method @WorkerThread public boolean isInvalid(); method public androidx.paging.DataSource map(androidx.arch.core.util.Function function); method @kotlin.jvm.JvmSynthetic public androidx.paging.DataSource map(kotlin.jvm.functions.Function1 function); method public androidx.paging.DataSource mapByPage(androidx.arch.core.util.Function,java.util.List> function); method @kotlin.jvm.JvmSynthetic public androidx.paging.DataSource mapByPage(kotlin.jvm.functions.Function1,? extends java.util.List> function); method @AnyThread public void removeInvalidatedCallback(androidx.paging.DataSource.InvalidatedCallback onInvalidatedCallback); property @WorkerThread public boolean isInvalid; } public abstract static class DataSource.Factory { ctor public DataSource.Factory(); method public final kotlin.jvm.functions.Function0> asPagingSourceFactory(); method public final kotlin.jvm.functions.Function0> asPagingSourceFactory(optional kotlinx.coroutines.CoroutineDispatcher fetchDispatcher); method public abstract androidx.paging.DataSource create(); method public androidx.paging.DataSource.Factory map(androidx.arch.core.util.Function function); method @kotlin.jvm.JvmSynthetic public androidx.paging.DataSource.Factory map(kotlin.jvm.functions.Function1 function); method public androidx.paging.DataSource.Factory mapByPage(androidx.arch.core.util.Function,java.util.List> function); method @kotlin.jvm.JvmSynthetic public androidx.paging.DataSource.Factory mapByPage(kotlin.jvm.functions.Function1,? extends java.util.List> function); } public static fun interface DataSource.InvalidatedCallback { method @AnyThread public void onInvalidated(); } @SuppressCompatibility @kotlin.RequiresOptIn @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention.BINARY) public @interface ExperimentalPagingApi { } public final class InvalidatingPagingSourceFactory implements androidx.paging.PagingSourceFactory { ctor public InvalidatingPagingSourceFactory(kotlin.jvm.functions.Function0> pagingSourceFactory); method public void invalidate(); method public androidx.paging.PagingSource invoke(); } @Deprecated public abstract class ItemKeyedDataSource extends androidx.paging.DataSource { ctor @Deprecated public ItemKeyedDataSource(); method @Deprecated public abstract Key getKey(Value item); method @Deprecated public abstract void loadAfter(androidx.paging.ItemKeyedDataSource.LoadParams params, androidx.paging.ItemKeyedDataSource.LoadCallback callback); method @Deprecated public abstract void loadBefore(androidx.paging.ItemKeyedDataSource.LoadParams params, androidx.paging.ItemKeyedDataSource.LoadCallback callback); method @Deprecated public abstract void loadInitial(androidx.paging.ItemKeyedDataSource.LoadInitialParams params, androidx.paging.ItemKeyedDataSource.LoadInitialCallback callback); method @Deprecated public final androidx.paging.ItemKeyedDataSource map(androidx.arch.core.util.Function function); method @Deprecated public final androidx.paging.ItemKeyedDataSource map(kotlin.jvm.functions.Function1 function); method @Deprecated public final androidx.paging.ItemKeyedDataSource mapByPage(androidx.arch.core.util.Function,java.util.List> function); method @Deprecated public final androidx.paging.ItemKeyedDataSource mapByPage(kotlin.jvm.functions.Function1,? extends java.util.List> function); } @Deprecated public abstract static class ItemKeyedDataSource.LoadCallback { ctor @Deprecated public ItemKeyedDataSource.LoadCallback(); method @Deprecated public abstract void onResult(java.util.List data); } @Deprecated public abstract static class ItemKeyedDataSource.LoadInitialCallback extends androidx.paging.ItemKeyedDataSource.LoadCallback { ctor @Deprecated public ItemKeyedDataSource.LoadInitialCallback(); method @Deprecated public abstract void onResult(java.util.List data, int position, int totalCount); } @Deprecated public static class ItemKeyedDataSource.LoadInitialParams { ctor @Deprecated public ItemKeyedDataSource.LoadInitialParams(Key? requestedInitialKey, int requestedLoadSize, boolean placeholdersEnabled); property @Deprecated public final boolean placeholdersEnabled; property @Deprecated public final Key? requestedInitialKey; property @Deprecated public final int requestedLoadSize; field @Deprecated public final boolean placeholdersEnabled; field @Deprecated public final Key? requestedInitialKey; field @Deprecated public final int requestedLoadSize; } @Deprecated public static class ItemKeyedDataSource.LoadParams { ctor @Deprecated public ItemKeyedDataSource.LoadParams(Key key, int requestedLoadSize); property @Deprecated public final Key key; property @Deprecated public final int requestedLoadSize; field @Deprecated public final Key key; field @Deprecated public final int requestedLoadSize; } public final class ItemSnapshotList extends kotlin.collections.AbstractList { ctor public ItemSnapshotList(@IntRange(from=0L) int placeholdersBefore, @IntRange(from=0L) int placeholdersAfter, java.util.List items); method public T? get(int index); method public java.util.List getItems(); method public int getPlaceholdersAfter(); method public int getPlaceholdersBefore(); method public int getSize(); property public java.util.List items; property @IntRange(from=0L) public int placeholdersAfter; property @IntRange(from=0L) public int placeholdersBefore; property public int size; } public abstract sealed class LoadState { method public final boolean getEndOfPaginationReached(); property public final boolean endOfPaginationReached; } public static final class LoadState.Error extends androidx.paging.LoadState { ctor public LoadState.Error(Throwable error); method public Throwable getError(); property public Throwable error; } public static final class LoadState.Loading extends androidx.paging.LoadState { field public static final androidx.paging.LoadState.Loading INSTANCE; } public static final class LoadState.NotLoading extends androidx.paging.LoadState { ctor public LoadState.NotLoading(boolean endOfPaginationReached); } public final class LoadStates { ctor public LoadStates(androidx.paging.LoadState refresh, androidx.paging.LoadState prepend, androidx.paging.LoadState append); method public androidx.paging.LoadState component1(); method public androidx.paging.LoadState component2(); method public androidx.paging.LoadState component3(); method public androidx.paging.LoadStates copy(androidx.paging.LoadState refresh, androidx.paging.LoadState prepend, androidx.paging.LoadState append); method public androidx.paging.LoadState getAppend(); method public androidx.paging.LoadState getPrepend(); method public androidx.paging.LoadState getRefresh(); method public boolean hasError(); method public boolean isIdle(); property public androidx.paging.LoadState append; property public boolean hasError; property public boolean isIdle; property public androidx.paging.LoadState prepend; property public androidx.paging.LoadState refresh; } public enum LoadType { enum_constant public static final androidx.paging.LoadType APPEND; enum_constant public static final androidx.paging.LoadType PREPEND; enum_constant public static final androidx.paging.LoadType REFRESH; } @Deprecated public interface Logger { method @Deprecated public boolean isLoggable(int level); method @Deprecated public void log(int level, String message, optional Throwable? tr); } @Deprecated public abstract class PageKeyedDataSource extends androidx.paging.DataSource { ctor @Deprecated public PageKeyedDataSource(); method @Deprecated public abstract void loadAfter(androidx.paging.PageKeyedDataSource.LoadParams params, androidx.paging.PageKeyedDataSource.LoadCallback callback); method @Deprecated public abstract void loadBefore(androidx.paging.PageKeyedDataSource.LoadParams params, androidx.paging.PageKeyedDataSource.LoadCallback callback); method @Deprecated public abstract void loadInitial(androidx.paging.PageKeyedDataSource.LoadInitialParams params, androidx.paging.PageKeyedDataSource.LoadInitialCallback callback); method @Deprecated public final androidx.paging.PageKeyedDataSource map(androidx.arch.core.util.Function function); method @Deprecated public final androidx.paging.PageKeyedDataSource map(kotlin.jvm.functions.Function1 function); method @Deprecated public final androidx.paging.PageKeyedDataSource mapByPage(androidx.arch.core.util.Function,java.util.List> function); method @Deprecated public final androidx.paging.PageKeyedDataSource mapByPage(kotlin.jvm.functions.Function1,? extends java.util.List> function); } @Deprecated public abstract static class PageKeyedDataSource.LoadCallback { ctor @Deprecated public PageKeyedDataSource.LoadCallback(); method @Deprecated public abstract void onResult(java.util.List data, Key? adjacentPageKey); } @Deprecated public abstract static class PageKeyedDataSource.LoadInitialCallback { ctor @Deprecated public PageKeyedDataSource.LoadInitialCallback(); method @Deprecated public abstract void onResult(java.util.List data, int position, int totalCount, Key? previousPageKey, Key? nextPageKey); method @Deprecated public abstract void onResult(java.util.List data, Key? previousPageKey, Key? nextPageKey); } @Deprecated public static class PageKeyedDataSource.LoadInitialParams { ctor @Deprecated public PageKeyedDataSource.LoadInitialParams(int requestedLoadSize, boolean placeholdersEnabled); property @Deprecated public final boolean placeholdersEnabled; property @Deprecated public final int requestedLoadSize; field @Deprecated public final boolean placeholdersEnabled; field @Deprecated public final int requestedLoadSize; } @Deprecated public static class PageKeyedDataSource.LoadParams { ctor @Deprecated public PageKeyedDataSource.LoadParams(Key key, int requestedLoadSize); property @Deprecated public final Key key; property @Deprecated public final int requestedLoadSize; field @Deprecated public final Key key; field @Deprecated public final int requestedLoadSize; } @Deprecated public abstract class PagedList extends java.util.AbstractList { method @Deprecated public final void addWeakCallback(androidx.paging.PagedList.Callback callback); method @Deprecated public final void addWeakCallback(java.util.List? previousSnapshot, androidx.paging.PagedList.Callback callback); method @Deprecated public final void addWeakLoadStateListener(kotlin.jvm.functions.Function2 listener); method @Deprecated public abstract void detach(); method @Deprecated public T? get(int index); method @Deprecated public final androidx.paging.PagedList.Config getConfig(); method @Deprecated public final androidx.paging.DataSource getDataSource(); method @Deprecated public abstract Object? getLastKey(); method @Deprecated public final int getLoadedCount(); method @Deprecated public final int getPositionOffset(); method @Deprecated public int getSize(); method @Deprecated public abstract boolean isDetached(); method @Deprecated public boolean isImmutable(); method @Deprecated public final void loadAround(int index); method @Deprecated public final void removeWeakCallback(androidx.paging.PagedList.Callback callback); method @Deprecated public final void removeWeakLoadStateListener(kotlin.jvm.functions.Function2 listener); method @Deprecated public void retry(); method @Deprecated public final java.util.List snapshot(); property @Deprecated public final androidx.paging.PagedList.Config config; property @Deprecated public final androidx.paging.DataSource dataSource; property @Deprecated public abstract boolean isDetached; property @Deprecated public boolean isImmutable; property @Deprecated public abstract Object? lastKey; property @Deprecated public final int loadedCount; property @Deprecated public final int positionOffset; property @Deprecated public int size; field @Deprecated public static final androidx.paging.PagedList.Companion Companion; } @Deprecated @MainThread public abstract static class PagedList.BoundaryCallback { ctor @Deprecated public PagedList.BoundaryCallback(); method @Deprecated public void onItemAtEndLoaded(T itemAtEnd); method @Deprecated public void onItemAtFrontLoaded(T itemAtFront); method @Deprecated public void onZeroItemsLoaded(); } @Deprecated public static final class PagedList.Builder { ctor @Deprecated public PagedList.Builder(androidx.paging.DataSource dataSource, androidx.paging.PagedList.Config config); ctor @Deprecated public PagedList.Builder(androidx.paging.DataSource dataSource, int pageSize); ctor @Deprecated public PagedList.Builder(androidx.paging.PagingSource pagingSource, androidx.paging.PagingSource.LoadResult.Page initialPage, androidx.paging.PagedList.Config config); ctor @Deprecated public PagedList.Builder(androidx.paging.PagingSource pagingSource, androidx.paging.PagingSource.LoadResult.Page initialPage, int pageSize); method @Deprecated public androidx.paging.PagedList build(); method @Deprecated public androidx.paging.PagedList.Builder setBoundaryCallback(androidx.paging.PagedList.BoundaryCallback? boundaryCallback); method @Deprecated public androidx.paging.PagedList.Builder setCoroutineScope(kotlinx.coroutines.CoroutineScope coroutineScope); method @Deprecated public androidx.paging.PagedList.Builder setFetchDispatcher(kotlinx.coroutines.CoroutineDispatcher fetchDispatcher); method @Deprecated public androidx.paging.PagedList.Builder setFetchExecutor(java.util.concurrent.Executor fetchExecutor); method @Deprecated public androidx.paging.PagedList.Builder setInitialKey(Key? initialKey); method @Deprecated public androidx.paging.PagedList.Builder setNotifyDispatcher(kotlinx.coroutines.CoroutineDispatcher notifyDispatcher); method @Deprecated public androidx.paging.PagedList.Builder setNotifyExecutor(java.util.concurrent.Executor notifyExecutor); } @Deprecated public abstract static class PagedList.Callback { ctor @Deprecated public PagedList.Callback(); method @Deprecated public abstract void onChanged(int position, int count); method @Deprecated public abstract void onInserted(int position, int count); method @Deprecated public abstract void onRemoved(int position, int count); } @Deprecated public static final class PagedList.Companion { } @Deprecated public static final class PagedList.Config { property @Deprecated public boolean enablePlaceholders; property @Deprecated public int initialLoadSizeHint; property @Deprecated public int maxSize; property @Deprecated public int pageSize; property @Deprecated public int prefetchDistance; field @Deprecated public static final int MAX_SIZE_UNBOUNDED = 2147483647; // 0x7fffffff field @Deprecated public final boolean enablePlaceholders; field @Deprecated public final int initialLoadSizeHint; field @Deprecated public final int maxSize; field @Deprecated public final int pageSize; field @Deprecated public final int prefetchDistance; } @Deprecated public static final class PagedList.Config.Builder { ctor @Deprecated public PagedList.Config.Builder(); method @Deprecated public androidx.paging.PagedList.Config build(); method @Deprecated public androidx.paging.PagedList.Config.Builder setEnablePlaceholders(boolean enablePlaceholders); method @Deprecated public androidx.paging.PagedList.Config.Builder setInitialLoadSizeHint(@IntRange(from=1L) int initialLoadSizeHint); method @Deprecated public androidx.paging.PagedList.Config.Builder setMaxSize(@IntRange(from=2L) int maxSize); method @Deprecated public androidx.paging.PagedList.Config.Builder setPageSize(@IntRange(from=1L) int pageSize); method @Deprecated public androidx.paging.PagedList.Config.Builder setPrefetchDistance(@IntRange(from=0L) int prefetchDistance); } public final class PagedListConfigKt { method @kotlin.jvm.JvmSynthetic public static androidx.paging.PagedList.Config Config(int pageSize, optional int prefetchDistance, optional boolean enablePlaceholders, optional int initialLoadSizeHint, optional int maxSize); } public final class PagedListKt { method @Deprecated @kotlin.jvm.JvmSynthetic public static androidx.paging.PagedList PagedList(androidx.paging.DataSource dataSource, androidx.paging.PagedList.Config config, java.util.concurrent.Executor notifyExecutor, java.util.concurrent.Executor fetchExecutor, optional androidx.paging.PagedList.BoundaryCallback? boundaryCallback, optional Key? initialKey); } public final class Pager { ctor @SuppressCompatibility @androidx.paging.ExperimentalPagingApi public Pager(androidx.paging.PagingConfig config, optional Key? initialKey, androidx.paging.RemoteMediator? remoteMediator, kotlin.jvm.functions.Function0> pagingSourceFactory); ctor public Pager(androidx.paging.PagingConfig config, optional Key? initialKey, kotlin.jvm.functions.Function0> pagingSourceFactory); ctor public Pager(androidx.paging.PagingConfig config, kotlin.jvm.functions.Function0> pagingSourceFactory); method public kotlinx.coroutines.flow.Flow> getFlow(); property public kotlinx.coroutines.flow.Flow> flow; } public final class PagingConfig { ctor public PagingConfig(int pageSize); ctor public PagingConfig(int pageSize, optional @IntRange(from=0L) int prefetchDistance); ctor public PagingConfig(int pageSize, optional @IntRange(from=0L) int prefetchDistance, optional boolean enablePlaceholders); ctor public PagingConfig(int pageSize, optional @IntRange(from=0L) int prefetchDistance, optional boolean enablePlaceholders, optional @IntRange(from=1L) int initialLoadSize); ctor public PagingConfig(int pageSize, optional @IntRange(from=0L) int prefetchDistance, optional boolean enablePlaceholders, optional @IntRange(from=1L) int initialLoadSize, optional @IntRange(from=2L) int maxSize); ctor public PagingConfig(int pageSize, optional @IntRange(from=0L) int prefetchDistance, optional boolean enablePlaceholders, optional @IntRange(from=1L) int initialLoadSize, optional @IntRange(from=2L) int maxSize, optional int jumpThreshold); property public boolean enablePlaceholders; property @IntRange(from=1L) public int initialLoadSize; property public int jumpThreshold; property @IntRange(from=2L) public int maxSize; property public int pageSize; property @IntRange(from=0L) public int prefetchDistance; field public static final androidx.paging.PagingConfig.Companion Companion; field public static final int MAX_SIZE_UNBOUNDED = 2147483647; // 0x7fffffff field public final boolean enablePlaceholders; field public final int initialLoadSize; field public final int jumpThreshold; field public final int maxSize; field public final int pageSize; field public final int prefetchDistance; } public static final class PagingConfig.Companion { property public static int MAX_SIZE_UNBOUNDED; } public final class PagingData { method public static androidx.paging.PagingData empty(); method public static androidx.paging.PagingData empty(androidx.paging.LoadStates sourceLoadStates); method public static androidx.paging.PagingData empty(androidx.paging.LoadStates sourceLoadStates, optional androidx.paging.LoadStates? mediatorLoadStates); method public static androidx.paging.PagingData from(java.util.List data); method public static androidx.paging.PagingData from(java.util.List data, androidx.paging.LoadStates sourceLoadStates); method public static androidx.paging.PagingData from(java.util.List data, androidx.paging.LoadStates sourceLoadStates, optional androidx.paging.LoadStates? mediatorLoadStates); field public static final androidx.paging.PagingData.Companion Companion; } public static final class PagingData.Companion { method public androidx.paging.PagingData empty(); method public androidx.paging.PagingData empty(androidx.paging.LoadStates sourceLoadStates); method public androidx.paging.PagingData empty(androidx.paging.LoadStates sourceLoadStates, optional androidx.paging.LoadStates? mediatorLoadStates); method public androidx.paging.PagingData from(java.util.List data); method public androidx.paging.PagingData from(java.util.List data, androidx.paging.LoadStates sourceLoadStates); method public androidx.paging.PagingData from(java.util.List data, androidx.paging.LoadStates sourceLoadStates, optional androidx.paging.LoadStates? mediatorLoadStates); } public abstract sealed class PagingDataEvent { } public static final class PagingDataEvent.Append extends androidx.paging.PagingDataEvent { method public java.util.List getInserted(); method public int getNewPlaceholdersAfter(); method public int getOldPlaceholdersAfter(); method public int getStartIndex(); property public java.util.List inserted; property public int newPlaceholdersAfter; property public int oldPlaceholdersAfter; property public int startIndex; } public static final class PagingDataEvent.DropAppend extends androidx.paging.PagingDataEvent { method public int getDropCount(); method public int getNewPlaceholdersAfter(); method public int getOldPlaceholdersAfter(); method public int getStartIndex(); property public int dropCount; property public int newPlaceholdersAfter; property public int oldPlaceholdersAfter; property public int startIndex; } public static final class PagingDataEvent.DropPrepend extends androidx.paging.PagingDataEvent { method public int getDropCount(); method public int getNewPlaceholdersBefore(); method public int getOldPlaceholdersBefore(); property public int dropCount; property public int newPlaceholdersBefore; property public int oldPlaceholdersBefore; } public static final class PagingDataEvent.Prepend extends androidx.paging.PagingDataEvent { method public java.util.List getInserted(); method public int getNewPlaceholdersBefore(); method public int getOldPlaceholdersBefore(); property public java.util.List inserted; property public int newPlaceholdersBefore; property public int oldPlaceholdersBefore; } public static final class PagingDataEvent.Refresh extends androidx.paging.PagingDataEvent { method public androidx.paging.PlaceholderPaddedList getNewList(); method public androidx.paging.PlaceholderPaddedList getPreviousList(); property public androidx.paging.PlaceholderPaddedList newList; property public androidx.paging.PlaceholderPaddedList previousList; } public abstract class PagingDataPresenter { ctor public PagingDataPresenter(); ctor public PagingDataPresenter(optional kotlin.coroutines.CoroutineContext mainContext, optional androidx.paging.PagingData? cachedPagingData); method public final void addLoadStateListener(kotlin.jvm.functions.Function1 listener); method public final void addOnPagesUpdatedListener(kotlin.jvm.functions.Function0 listener); method public final suspend Object? collectFrom(androidx.paging.PagingData pagingData, kotlin.coroutines.Continuation); method @MainThread public final operator T? get(@IntRange(from=0L) int index); method public final kotlinx.coroutines.flow.StateFlow getLoadStateFlow(); method public final kotlinx.coroutines.flow.Flow getOnPagesUpdatedFlow(); method public final int getSize(); method @MainThread public final T? peek(@IntRange(from=0L) int index); method public abstract suspend Object? presentPagingDataEvent(androidx.paging.PagingDataEvent event, kotlin.coroutines.Continuation); method public final void refresh(); method public final void removeLoadStateListener(kotlin.jvm.functions.Function1 listener); method public final void removeOnPagesUpdatedListener(kotlin.jvm.functions.Function0 listener); method public final void retry(); method public final androidx.paging.ItemSnapshotList snapshot(); property public final kotlinx.coroutines.flow.StateFlow loadStateFlow; property public final kotlinx.coroutines.flow.Flow onPagesUpdatedFlow; property public final int size; } public final class PagingDataTransforms { method @CheckResult public static androidx.paging.PagingData filter(androidx.paging.PagingData, java.util.concurrent.Executor executor, kotlin.jvm.functions.Function1 predicate); method @CheckResult @kotlin.jvm.JvmSynthetic public static androidx.paging.PagingData filter(androidx.paging.PagingData, kotlin.jvm.functions.Function2,? extends java.lang.Object?> predicate); method @CheckResult public static androidx.paging.PagingData flatMap(androidx.paging.PagingData, java.util.concurrent.Executor executor, kotlin.jvm.functions.Function1> transform); method @CheckResult @kotlin.jvm.JvmSynthetic public static androidx.paging.PagingData flatMap(androidx.paging.PagingData, kotlin.jvm.functions.Function2>,? extends java.lang.Object?> transform); method @CheckResult public static androidx.paging.PagingData insertFooterItem(androidx.paging.PagingData, optional androidx.paging.TerminalSeparatorType terminalSeparatorType, T item); method @CheckResult public static androidx.paging.PagingData insertFooterItem(androidx.paging.PagingData, T item); method @CheckResult public static androidx.paging.PagingData insertHeaderItem(androidx.paging.PagingData, optional androidx.paging.TerminalSeparatorType terminalSeparatorType, T item); method @CheckResult public static androidx.paging.PagingData insertHeaderItem(androidx.paging.PagingData, T item); method @CheckResult public static androidx.paging.PagingData insertSeparators(androidx.paging.PagingData, optional androidx.paging.TerminalSeparatorType terminalSeparatorType, java.util.concurrent.Executor executor, kotlin.jvm.functions.Function2 generator); method @CheckResult @kotlin.jvm.JvmSynthetic public static androidx.paging.PagingData insertSeparators(androidx.paging.PagingData, optional androidx.paging.TerminalSeparatorType terminalSeparatorType, kotlin.jvm.functions.Function3,? extends java.lang.Object?> generator); method @CheckResult public static androidx.paging.PagingData insertSeparators(androidx.paging.PagingData, java.util.concurrent.Executor executor, kotlin.jvm.functions.Function2 generator); method @CheckResult public static androidx.paging.PagingData map(androidx.paging.PagingData, java.util.concurrent.Executor executor, kotlin.jvm.functions.Function1 transform); method @CheckResult @kotlin.jvm.JvmSynthetic public static androidx.paging.PagingData map(androidx.paging.PagingData, kotlin.jvm.functions.Function2,? extends java.lang.Object?> transform); } public abstract class PagingSource { ctor public PagingSource(); method public final boolean getInvalid(); method public boolean getJumpingSupported(); method public boolean getKeyReuseSupported(); method public abstract Key? getRefreshKey(androidx.paging.PagingState state); method public final void invalidate(); method public abstract suspend Object? load(androidx.paging.PagingSource.LoadParams params, kotlin.coroutines.Continuation>); method public final void registerInvalidatedCallback(kotlin.jvm.functions.Function0 onInvalidatedCallback); method public final void unregisterInvalidatedCallback(kotlin.jvm.functions.Function0 onInvalidatedCallback); property public final boolean invalid; property public boolean jumpingSupported; property public boolean keyReuseSupported; } public abstract static sealed class PagingSource.LoadParams { method public abstract Key? getKey(); method public final int getLoadSize(); method public final boolean getPlaceholdersEnabled(); property public abstract Key? key; property public final int loadSize; property public final boolean placeholdersEnabled; } public static final class PagingSource.LoadParams.Append extends androidx.paging.PagingSource.LoadParams { ctor public PagingSource.LoadParams.Append(Key key, int loadSize, boolean placeholdersEnabled); method public Key getKey(); property public Key key; } public static final class PagingSource.LoadParams.Prepend extends androidx.paging.PagingSource.LoadParams { ctor public PagingSource.LoadParams.Prepend(Key key, int loadSize, boolean placeholdersEnabled); method public Key getKey(); property public Key key; } public static final class PagingSource.LoadParams.Refresh extends androidx.paging.PagingSource.LoadParams { ctor public PagingSource.LoadParams.Refresh(Key? key, int loadSize, boolean placeholdersEnabled); method public Key? getKey(); property public Key? key; } public abstract static sealed class PagingSource.LoadResult { } public static final class PagingSource.LoadResult.Error extends androidx.paging.PagingSource.LoadResult { ctor public PagingSource.LoadResult.Error(Throwable throwable); method public Throwable component1(); method public androidx.paging.PagingSource.LoadResult.Error copy(Throwable throwable); method public Throwable getThrowable(); property public Throwable throwable; } public static final class PagingSource.LoadResult.Invalid extends androidx.paging.PagingSource.LoadResult { ctor public PagingSource.LoadResult.Invalid(); } public static final class PagingSource.LoadResult.Page extends androidx.paging.PagingSource.LoadResult implements java.lang.Iterable kotlin.jvm.internal.markers.KMappedMarker { ctor public PagingSource.LoadResult.Page(java.util.List data, Key? prevKey, Key? nextKey); ctor public PagingSource.LoadResult.Page(java.util.List data, Key? prevKey, Key? nextKey, optional @IntRange(from=androidx.paging.PagingSource.LoadResult.Page.COUNT_UNDEFINED.toLong()) int itemsBefore, optional @IntRange(from=androidx.paging.PagingSource.LoadResult.Page.COUNT_UNDEFINED.toLong()) int itemsAfter); method public java.util.List component1(); method public Key? component2(); method public Key? component3(); method public int component4(); method public int component5(); method public androidx.paging.PagingSource.LoadResult.Page copy(java.util.List data, Key? prevKey, Key? nextKey, @IntRange(from=androidx.paging.PagingSource.LoadResult.Page.COUNT_UNDEFINED.toLong()) int itemsBefore, @IntRange(from=androidx.paging.PagingSource.LoadResult.Page.COUNT_UNDEFINED.toLong()) int itemsAfter); method public java.util.List getData(); method public int getItemsAfter(); method public int getItemsBefore(); method public Key? getNextKey(); method public Key? getPrevKey(); method public java.util.Iterator iterator(); property public java.util.List data; property @IntRange(from=androidx.paging.PagingSource.LoadResult.Page.COUNT_UNDEFINED.toLong()) public int itemsAfter; property @IntRange(from=androidx.paging.PagingSource.LoadResult.Page.COUNT_UNDEFINED.toLong()) public int itemsBefore; property public Key? nextKey; property public Key? prevKey; field public static final int COUNT_UNDEFINED = -2147483648; // 0x80000000 field public static final androidx.paging.PagingSource.LoadResult.Page.Companion Companion; } public static final class PagingSource.LoadResult.Page.Companion { property public static int COUNT_UNDEFINED; } public fun interface PagingSourceFactory extends kotlin.jvm.functions.Function0> { method public operator androidx.paging.PagingSource invoke(); } public final class PagingState { ctor public PagingState(java.util.List> pages, Integer? anchorPosition, androidx.paging.PagingConfig config, @IntRange(from=0L) int leadingPlaceholderCount); method public Value? closestItemToPosition(int anchorPosition); method public androidx.paging.PagingSource.LoadResult.Page? closestPageToPosition(int anchorPosition); method public Value? firstItemOrNull(); method public Integer? getAnchorPosition(); method public androidx.paging.PagingConfig getConfig(); method public java.util.List> getPages(); method public boolean isEmpty(); method public Value? lastItemOrNull(); property public Integer? anchorPosition; property public androidx.paging.PagingConfig config; property public java.util.List> pages; } public interface PlaceholderPaddedList { method public int getDataCount(); method public T getItem(int index); method public int getPlaceholdersAfter(); method public int getPlaceholdersBefore(); method public int getSize(); property public abstract int dataCount; property public abstract int placeholdersAfter; property public abstract int placeholdersBefore; property public abstract int size; } @Deprecated public abstract class PositionalDataSource extends androidx.paging.DataSource { ctor @Deprecated public PositionalDataSource(); method @Deprecated public static final int computeInitialLoadPosition(androidx.paging.PositionalDataSource.LoadInitialParams params, int totalCount); method @Deprecated public static final int computeInitialLoadSize(androidx.paging.PositionalDataSource.LoadInitialParams params, int initialLoadPosition, int totalCount); method @Deprecated @WorkerThread public abstract void loadInitial(androidx.paging.PositionalDataSource.LoadInitialParams params, androidx.paging.PositionalDataSource.LoadInitialCallback callback); method @Deprecated @WorkerThread public abstract void loadRange(androidx.paging.PositionalDataSource.LoadRangeParams params, androidx.paging.PositionalDataSource.LoadRangeCallback callback); method @Deprecated public final androidx.paging.PositionalDataSource map(androidx.arch.core.util.Function function); method @Deprecated public final androidx.paging.PositionalDataSource map(kotlin.jvm.functions.Function1 function); method @Deprecated public final androidx.paging.PositionalDataSource mapByPage(androidx.arch.core.util.Function,java.util.List> function); method @Deprecated public final androidx.paging.PositionalDataSource mapByPage(kotlin.jvm.functions.Function1,? extends java.util.List> function); field @Deprecated public static final androidx.paging.PositionalDataSource.Companion Companion; } @Deprecated public static final class PositionalDataSource.Companion { method @Deprecated public int computeInitialLoadPosition(androidx.paging.PositionalDataSource.LoadInitialParams params, int totalCount); method @Deprecated public int computeInitialLoadSize(androidx.paging.PositionalDataSource.LoadInitialParams params, int initialLoadPosition, int totalCount); } @Deprecated public abstract static class PositionalDataSource.LoadInitialCallback { ctor @Deprecated public PositionalDataSource.LoadInitialCallback(); method @Deprecated public abstract void onResult(java.util.List data, int position); method @Deprecated public abstract void onResult(java.util.List data, int position, int totalCount); } @Deprecated public static class PositionalDataSource.LoadInitialParams { ctor @Deprecated public PositionalDataSource.LoadInitialParams(int requestedStartPosition, int requestedLoadSize, int pageSize, boolean placeholdersEnabled); property @Deprecated public final int pageSize; property @Deprecated public final boolean placeholdersEnabled; property @Deprecated public final int requestedLoadSize; property @Deprecated public final int requestedStartPosition; field @Deprecated public final int pageSize; field @Deprecated public final boolean placeholdersEnabled; field @Deprecated public final int requestedLoadSize; field @Deprecated public final int requestedStartPosition; } @Deprecated public abstract static class PositionalDataSource.LoadRangeCallback { ctor @Deprecated public PositionalDataSource.LoadRangeCallback(); method @Deprecated public abstract void onResult(java.util.List data); } @Deprecated public static class PositionalDataSource.LoadRangeParams { ctor @Deprecated public PositionalDataSource.LoadRangeParams(int startPosition, int loadSize); property @Deprecated public final int loadSize; property @Deprecated public final int startPosition; field @Deprecated public final int loadSize; field @Deprecated public final int startPosition; } @SuppressCompatibility @androidx.paging.ExperimentalPagingApi public abstract class RemoteMediator { ctor public RemoteMediator(); method public suspend Object? initialize(kotlin.coroutines.Continuation); method public abstract suspend Object? load(androidx.paging.LoadType loadType, androidx.paging.PagingState state, kotlin.coroutines.Continuation); } public enum RemoteMediator.InitializeAction { enum_constant public static final androidx.paging.RemoteMediator.InitializeAction LAUNCH_INITIAL_REFRESH; enum_constant public static final androidx.paging.RemoteMediator.InitializeAction SKIP_INITIAL_REFRESH; } public abstract static sealed class RemoteMediator.MediatorResult { } public static final class RemoteMediator.MediatorResult.Error extends androidx.paging.RemoteMediator.MediatorResult { ctor public RemoteMediator.MediatorResult.Error(Throwable throwable); method public Throwable getThrowable(); property public Throwable throwable; } public static final class RemoteMediator.MediatorResult.Success extends androidx.paging.RemoteMediator.MediatorResult { ctor public RemoteMediator.MediatorResult.Success(boolean endOfPaginationReached); method public boolean endOfPaginationReached(); property public boolean endOfPaginationReached; } public enum TerminalSeparatorType { enum_constant public static final androidx.paging.TerminalSeparatorType FULLY_COMPLETE; enum_constant public static final androidx.paging.TerminalSeparatorType SOURCE_COMPLETE; } }