Added fail safe

This commit is contained in:
M66B
2022-03-23 18:19:14 +01:00
parent 9abb755fb8
commit 3ab55e2bf9
19 changed files with 134 additions and 19 deletions

View File

@@ -444,7 +444,12 @@ public class AdapterContact extends RecyclerView.Adapter<AdapterContact.ViewHold
Log.d("Changed @" + position + " #" + count);
}
});
diff.dispatchUpdatesTo(AdapterContact.this);
try {
diff.dispatchUpdatesTo(AdapterContact.this);
} catch (Throwable ex) {
Log.e(ex);
}
}
@Override