class AlertDialogBuilder
Meta-builder class used to build alert dialogs.
AlertDialogBuilder(context: Context)
Constructs a new AlertDialogBuilder. AlertDialogBuilder(context: Context, messageResId: Int, titleResId: Int = 0)
Constructs a new AlertDialogBuilder with specified message and title. AlertDialogBuilder(context: Context, message: String?, title: String? = null)
Constructs a new AlertDialogBuilder with specified message and title. |
var cancelable: Boolean
Whether user should be able to cancel out of the dialog. |
|
var message: String?
Dialog message. |
|
var messageResId: Int
Dialog message string resource id. |
|
val negativeButton: AlertDialogButton
Used to set caption and click handler of the dialog's negative button. |
|
val neutralButton: AlertDialogButton
Used to set caption and click handler of the dialog's neutral button. |
|
val positiveButton: AlertDialogButton
Used to set caption and click handler of the dialog's positive button. |
|
var title: String?
Dialog title. |
|
var titleResId: Int
Dialog title string resource id. |