Revert "Removed same boundary check"

This reverts commit 47318409ff.
This commit is contained in:
M66B 2021-03-14 20:52:39 +01:00
parent 2e8bb91160
commit e2c8828f57
1 changed files with 5 additions and 0 deletions

View File

@ -126,6 +126,11 @@ public class BoundaryCallbackMessages extends PagedList.BoundaryCallback<TupleMe
public void onItemAtEndLoaded(@NonNull final TupleMessageEx itemAtEnd) {
Long id = (itemAtEnd == null ? null : itemAtEnd.id); // fall-safe
if (state.end != null && state.end.equals(id)) {
Log.i("Boundary at same end=" + id);
return;
}
Log.i("Boundary at end=" + id);
queue_load(state, id);
}