使用Anko,我可以编写以下代码来显示对话框:
我该如何为按钮设置标题?
抱歉,它不起作用。
alert("Dialog title") {
yesButton {}
noButton {}
}.show()
我该如何为按钮设置标题?
noButton {title = "title"}
抱歉,它不起作用。