Home
last modified time | relevance | path

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

/frameworks/support/paging/common/src/main/java/androidx/paging/
DContiguousPagedList.java117 final int newlyAppended = mStorage.getNumberAppended() - snapshot.getNumberAppended(); in dispatchUpdatesSinceSnapshot() local
126 || newlyAppended < 0 in dispatchUpdatesSinceSnapshot()
128 || mStorage.getTrailingNullCount() != Math.max(previousTrailing - newlyAppended, 0) in dispatchUpdatesSinceSnapshot()
131 != snapshot.getStorageCount() + newlyAppended + newlyPrepended)) { in dispatchUpdatesSinceSnapshot()
136 if (newlyAppended != 0) { in dispatchUpdatesSinceSnapshot()
137 final int changedCount = Math.min(previousTrailing, newlyAppended); in dispatchUpdatesSinceSnapshot()
138 final int addedCount = newlyAppended - changedCount; in dispatchUpdatesSinceSnapshot()