Clear RecyclerView reference

pull/207/head
M66B 3 years ago
parent 8bffae7c14
commit 8a7841e0a9

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

Loading…
Cancel
Save