@Deprecated public class MockDialogInterface extends Object implements DialogInterface
DialogInterface
class. All methods are non-functional and throw
UnsupportedOperationException
. Override it to provide the operations that you
need.DialogInterface.OnCancelListener, DialogInterface.OnClickListener, DialogInterface.OnDismissListener, DialogInterface.OnKeyListener, DialogInterface.OnMultiChoiceClickListener, DialogInterface.OnShowListener
BUTTON_NEGATIVE, BUTTON_NEUTRAL, BUTTON_POSITIVE, BUTTON1, BUTTON2, BUTTON3
Constructor and Description |
---|
MockDialogInterface()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Deprecated.
|
void |
dismiss()
Deprecated.
|
public void cancel()
cancel
in interface DialogInterface
public void dismiss()
dismiss
in interface DialogInterface