Skip to content

Commit

Permalink
Binding Reference to be null on Fragment Destroy
Browse files Browse the repository at this point in the history
  • Loading branch information
neeldoshii committed Jun 13, 2024
1 parent 480ec92 commit 72f4cc2
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -521,4 +521,10 @@ public Builder setTitle(@StringRes int textId) {
return this;
}
}

@Override
public void onDestroy() {
super.onDestroy();
mBinding = null
}
}

0 comments on commit 72f4cc2

Please sign in to comment.