public interface MaterialDialog extends MaterialDialogDecorator, android.content.DialogInterface
android.content.DialogInterface.OnCancelListener, android.content.DialogInterface.OnClickListener, android.content.DialogInterface.OnDismissListener, android.content.DialogInterface.OnKeyListener, android.content.DialogInterface.OnMultiChoiceClickListener, android.content.DialogInterface.OnShowListener| Modifier and Type | Method and Description |
|---|---|
void |
setCancelable(boolean cancelable)
Sets, whether the dialog should be cancelable, or not.
|
void |
setOnCancelListener(android.content.DialogInterface.OnCancelListener listener)
Sets the listener, which should be notified, when the dialog is canceled.
|
void |
setOnDismissListener(android.content.DialogInterface.OnDismissListener listener)
Sets the listener, which should be notified, when the dialog is dismissed for any reason.
|
void |
setOnShowListener(android.content.DialogInterface.OnShowListener listener)
Sets the listener, which should be notified, when the dialog has been shown.
|
getBackground, getIcon, getMessage, getMessageColor, getTitle, getTitleColor, setBackground, setBackground, setBackgroundColor, setCustomMessage, setCustomMessage, setCustomTitle, setCustomTitle, setIcon, setIcon, setIconAttribute, setMessage, setMessage, setMessageColor, setTitle, setTitle, setTitleColor, setView, setViewgetContextvoid setCancelable(boolean cancelable)
cancelable - True, if the dialog, which is created by the builder, should be cancelable, false
otherwisevoid setOnShowListener(android.content.DialogInterface.OnShowListener listener)
listener - The listener, which should be set, as an instance of the type DialogInterface.OnShowListener, or null, if no listener should be setvoid setOnCancelListener(android.content.DialogInterface.OnCancelListener listener)
setOnDismissListener.listener - The listener, which should be set, as an instance of the type DialogInterface.OnCancelListener, or null, if no listener should be setsetCancelable(boolean),
setOnDismissListener(android.content.DialogInterface.OnDismissListener)void setOnDismissListener(android.content.DialogInterface.OnDismissListener listener)
listener - The listener, which should be set, as an instance of the type DialogInterface.OnDismissListener, or null, if no listener should be set