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