@JvmOverloads fun Context.alert(message: String, title: String = "", positiveButton: String? = null, cancelable: Boolean = true, callback: (DialogInterface) -> Unit = {}): Builder
Display AlertDialog instantly
positiveButton
- optional, button text
callback
- callback of click ok button
@JvmOverloads fun Context.alert(message: String, title: String = "", positiveButton: String? = null, cancelable: Boolean = true, callback: F1<DialogInterface>?): Builder
Display AlertDialog instantly for SAM Conversion