confirm
fun confirm(message: String, title: String? = null, buttonLabels: List<String>? = null, callback: (Int) -> Unit)
Show confirm dialog.
Parameters
message
a message
title
an optional dialog title (defaults to Confirm)
button Labels
an optional list of button labels (defaults to OK, Cancel)
callback
a callback function