Fix bad behaviour for long group replies.

This commit is contained in:
Alex Hart
2022-07-05 10:54:35 -03:00
committed by Greyson Parrelli
parent adbdb97a28
commit 6aa4706e9b
2 changed files with 13 additions and 3 deletions

View File

@@ -38,7 +38,7 @@ public class PagingMappingAdapter<Key> extends MappingAdapter {
pagingController.onDataNeededAroundIndex(position);
}
if (position > 0 && position < super.getCurrentList().size()) {
if (position >= 0 && position < super.getCurrentList().size()) {
return super.getItem(position);
} else {
return null;