Home
last modified time | relevance | path

Searched refs:previousSnapshot (Results 1 – 2 of 2) sorted by relevance

/frameworks/support/paging/common/src/main/java/androidx/paging/
DPagedList.java650 public void addWeakCallback(@Nullable List<T> previousSnapshot, @NonNull Callback callback) { in addWeakCallback() argument
651 if (previousSnapshot != null && previousSnapshot != this) { in addWeakCallback()
653 if (previousSnapshot.isEmpty()) { in addWeakCallback()
660 PagedList<T> storageSnapshot = (PagedList<T>) previousSnapshot; in addWeakCallback()
/frameworks/support/paging/runtime/src/main/java/androidx/paging/
DAsyncPagedListDiffer.java323 PagedList<T> previousSnapshot = mSnapshot; in latchPagedList() local
329 previousSnapshot.mStorage, newList.mStorage, diffResult); in latchPagedList()