Skip to content

Commit

Permalink
Update PostSettingsInputDialogFragment.java
Browse files Browse the repository at this point in the history
  • Loading branch information
neeldoshii committed Jun 11, 2024
1 parent 8528c20 commit 3c62fbf
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -152,4 +152,10 @@ public void afterTextChanged(Editable editable) {
mDialog.getButton(Dialog.BUTTON_POSITIVE).setEnabled(!disabled);
}
}

@Override
public void onDestroy() {
super.onDestroy();
mBinding = null; // ensures binding reference gets null on fragment destroy
}
}

0 comments on commit 3c62fbf

Please sign in to comment.