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

@@ -132,6 +132,7 @@ public class AdapterNavSearch extends RecyclerView.Adapter<AdapterNavSearch.View
public void onDestroyed() {
Log.d(AdapterNavSearch.this + " parent destroyed");
AdapterNavSearch.this.manager = null;
owner.getLifecycle().removeObserver(this);
}
});
}