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