Added workaround for paging bug

This commit is contained in:
M66B 2020-09-14 09:53:02 +02:00
parent 138baa4d78
commit 0717d3b0a1
1 changed files with 5 additions and 1 deletions

View File

@ -551,6 +551,10 @@ final class PagedStorage<T> extends AbstractList<T> {
" size=" + newPageSize + "/" + mPageSize +
" addingLastPage=" + addingLastPage +
" onlyEndPagePresent=" + onlyEndPagePresent);
if (newPageSize > mPageSize)
// tiling size=1222/50 addingLastPage=false onlyEndPagePresent=false
page = page.subList(0, mPageSize);
else
return;
}
if (onlyEndPagePresent) {