Update signature files after metalava update.
Test: ./gradlew updateApi
Relnote: N/A
Change-Id: If53d6ac5d88e8faa0f0f64d91df84601ff832a31
diff --git a/paging/common/api/current.txt b/paging/common/api/current.txt
index a2147aa..efc3cb0 100644
--- a/paging/common/api/current.txt
+++ b/paging/common/api/current.txt
@@ -87,7 +87,7 @@
}
public final class ItemSnapshotList<T> extends kotlin.collections.AbstractList<T> {
- ctor public ItemSnapshotList(@IntRange(from=null) int placeholdersBefore, @IntRange(from=null) int placeholdersAfter, java.util.List<? extends T> items);
+ ctor public ItemSnapshotList(@IntRange(from=0) int placeholdersBefore, @IntRange(from=0) int placeholdersAfter, java.util.List<? extends T> items);
method public T? get(int index);
method public java.util.List<T> getItems();
method public int getPlaceholdersAfter();
@@ -260,11 +260,11 @@
}
public final class PagingConfig {
- ctor public PagingConfig(int pageSize, @IntRange(from=null) int prefetchDistance, boolean enablePlaceholders, @IntRange(from=null) int initialLoadSize, @IntRange(from=null) int maxSize, int jumpThreshold);
- ctor public PagingConfig(int pageSize, @IntRange(from=null) int prefetchDistance, boolean enablePlaceholders, @IntRange(from=null) int initialLoadSize, @IntRange(from=null) int maxSize);
- ctor public PagingConfig(int pageSize, @IntRange(from=null) int prefetchDistance, boolean enablePlaceholders, @IntRange(from=null) int initialLoadSize);
- ctor public PagingConfig(int pageSize, @IntRange(from=null) int prefetchDistance, boolean enablePlaceholders);
- ctor public PagingConfig(int pageSize, @IntRange(from=null) int prefetchDistance);
+ ctor public PagingConfig(int pageSize, @IntRange(from=0) int prefetchDistance, boolean enablePlaceholders, @IntRange(from=1) int initialLoadSize, @IntRange(from=2) int maxSize, int jumpThreshold);
+ ctor public PagingConfig(int pageSize, @IntRange(from=0) int prefetchDistance, boolean enablePlaceholders, @IntRange(from=1) int initialLoadSize, @IntRange(from=2) int maxSize);
+ ctor public PagingConfig(int pageSize, @IntRange(from=0) int prefetchDistance, boolean enablePlaceholders, @IntRange(from=1) int initialLoadSize);
+ ctor public PagingConfig(int pageSize, @IntRange(from=0) int prefetchDistance, boolean enablePlaceholders);
+ ctor public PagingConfig(int pageSize, @IntRange(from=0) int prefetchDistance);
ctor public PagingConfig(int pageSize);
field public static final androidx.paging.PagingConfig.Companion Companion;
field public static final int MAX_SIZE_UNBOUNDED = 2147483647; // 0x7fffffff
@@ -352,7 +352,7 @@
}
public static final class PagingSource.LoadResult.Page<Key, Value> extends androidx.paging.PagingSource.LoadResult<Key,Value> {
- ctor public PagingSource.LoadResult.Page(java.util.List<? extends Value> data, Key? prevKey, Key? nextKey, @IntRange(from=null) int itemsBefore, @IntRange(from=null) int itemsAfter);
+ ctor public PagingSource.LoadResult.Page(java.util.List<? extends Value> data, Key? prevKey, Key? nextKey, @IntRange(from=COUNT_UNDEFINED.toLong()) int itemsBefore, @IntRange(from=COUNT_UNDEFINED.toLong()) int itemsAfter);
ctor public PagingSource.LoadResult.Page(java.util.List<? extends Value> data, Key? prevKey, Key? nextKey);
method public java.util.List<Value> component1();
method public Key? component2();
@@ -376,7 +376,7 @@
}
public final class PagingState<Key, Value> {
- ctor public PagingState(java.util.List<androidx.paging.PagingSource.LoadResult.Page<Key,Value>> pages, Integer? anchorPosition, androidx.paging.PagingConfig config, @IntRange(from=null) int leadingPlaceholderCount);
+ ctor public PagingState(java.util.List<androidx.paging.PagingSource.LoadResult.Page<Key,Value>> pages, Integer? anchorPosition, androidx.paging.PagingConfig config, @IntRange(from=0) int leadingPlaceholderCount);
method public Value? closestItemToPosition(int anchorPosition);
method public androidx.paging.PagingSource.LoadResult.Page<Key,Value>? closestPageToPosition(int anchorPosition);
method public Value? firstItemOrNull();