mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-31 20:25:38 +00:00
Invalidate item decorators
This commit is contained in:
parent
a3c2ce6912
commit
61c004d510
1 changed files with 11 additions and 1 deletions
|
@ -6473,7 +6473,17 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|||
if (rv != null)
|
||||
savedState = rv.getLayoutManager().onSaveInstanceState();
|
||||
|
||||
differ.submitList(list);
|
||||
differ.submitList(list, new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
try {
|
||||
if (rv != null)
|
||||
rv.invalidateItemDecorations();
|
||||
} catch (Throwable ex) {
|
||||
Log.e(ex);
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
PagedList<TupleMessageEx> getCurrentList() {
|
||||
|
|
Loading…
Reference in a new issue