mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 22:26:06 +02:00
Remove life cycle observers
This commit is contained in:
@@ -366,6 +366,7 @@ public class AdapterContact extends RecyclerView.Adapter<AdapterContact.ViewHold
|
||||
public void onDestroyed() {
|
||||
Log.d(AdapterContact.this + " parent destroyed");
|
||||
AdapterContact.this.parentFragment = null;
|
||||
owner.getLifecycle().removeObserver(this);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user