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