Fix bug that caused the IFinalizeDialogFragmentListener to be called twice once the FinalizeDialogFragment is attached
This commit is contained in:
parent
360847f99d
commit
060b2c5740
1 changed files with 0 additions and 5 deletions
|
@ -71,7 +71,6 @@ public class CreateSudokuSpecialButtonLayout extends LinearLayout implements IHi
|
|||
break;
|
||||
case Finalize:
|
||||
FinalizeConfirmationDialog dialog = new FinalizeConfirmationDialog();
|
||||
dialog.addListener(finalizeDialogFragmentListener);
|
||||
dialog.show(fragmentManager, "FinalizeDialogFragment");
|
||||
default:
|
||||
break;
|
||||
|
@ -203,10 +202,6 @@ public class CreateSudokuSpecialButtonLayout extends LinearLayout implements IHi
|
|||
}
|
||||
}
|
||||
|
||||
public void addListener(IFinalizeDialogFragmentListener listener) {
|
||||
listeners.add(listener);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Dialog onCreateDialog(Bundle savedInstanceState) {
|
||||
// Use the Builder class for convenient dialog construction
|
||||
|
|
Loading…
Reference in a new issue