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

@@ -359,6 +359,7 @@ public class AdapterIdentity extends RecyclerView.Adapter<AdapterIdentity.ViewHo
public void onDestroyed() {
Log.d(AdapterIdentity.this + " parent destroyed");
AdapterIdentity.this.parentFragment = null;
owner.getLifecycle().removeObserver(this);
}
});
}