Skip to content
This repository has been archived by the owner on Feb 1, 2025. It is now read-only.

Commit

Permalink
null check for target fragment in dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
y20k committed Mar 19, 2019
1 parent dbdfef7 commit ceda1a3
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,7 @@ public void onClick(DialogInterface dialog, int whichButton) {
}
}
}
);
dialogBuilder.setNegativeButton(negativeButton,
); dialogBuilder.setNegativeButton(negativeButton,
new DialogInterface.OnClickListener() {
public void onClick(DialogInterface dialog, int whichButton) {
Fragment target = getTargetFragment();
Expand Down

0 comments on commit ceda1a3

Please sign in to comment.