Change pagination to be based on loadSize of DataSource
pull/600/head
mike a 2 years ago committed by mergify[bot]
parent 5a8a6a6e76
commit cc9d82fd20

@ -33,7 +33,7 @@ class HistoryDataSource(
val nextOffset = if (historyItems.isEmpty()) {
null
} else {
historyItems.last().position + 1
offset + params.loadSize
}
return LoadResult.Page(
data = historyItems,

Loading…
Cancel
Save