operator fun invoke(caption: String? = null, onClick: (dialog: DialogInterface, which: Int) -> Unit = null): Unit
Sets click handler and caption for the button.
operator fun invoke(captionResId: Int = 0, onClick: (dialog: DialogInterface, which: Int) -> Unit = null): Unit
Sets click handler and captionResId for the button.