Remove life cycle observers

This commit is contained in:
M66B
2021-09-28 10:18:20 +02:00
parent bffe51d71c
commit e06c938b0d
17 changed files with 32 additions and 8 deletions

View File

@@ -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);
}
});
}