class AlertDialogButton
Helper class to set alert dialog buttons.
AlertDialogButton()
Helper class to set alert dialog buttons. |
var onClick: (dialog: DialogInterface, which: Int) -> Unit |
|
var text: String? |
|
var textResId: Int |
operator fun invoke(: String? = null, onClick: (dialog: DialogInterface, which: Int) -> Unit = null): Unit
Sets click handler and caption for the button. operator fun invoke(: Int = 0, onClick: (dialog: DialogInterface, which: Int) -> Unit = null): Unit
Sets click handler and captionResId for the button. |