Check if the end is near

This commit is contained in:
M66B 2021-03-01 08:54:13 +01:00
parent 25e85769c6
commit 68b5c8385b
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ public class BoundaryCallbackMessages extends PagedList.BoundaryCallback<TupleMe
executor.submit(new Runnable() {
@Override
public void run() {
if (state.end != null && !state.end.equals(end)) {
if (end != null && state.end != null && !state.end.equals(end)) {
Log.i("Boundary end=" + state.end + "/" + end);
return;
}