mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-04 08:08:16 +02:00
Force recycle views on destroy
This commit is contained in:
@@ -5653,6 +5653,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||
@OnLifecycleEvent(Lifecycle.Event.ON_DESTROY)
|
||||
public void onDestroyed() {
|
||||
try {
|
||||
onViewRecycled(ViewHolder.this);
|
||||
dialog.dismiss();
|
||||
owner.getLifecycle().removeObserver(this);
|
||||
} catch (Throwable ex) {
|
||||
|
||||
Reference in New Issue
Block a user