display
Dialog
fun Context?.displayDialog( title: String, message: String, positiveAction: Pair<String, () -> Unit?>, negativeAction: Pair<String, () -> Unit?>? = null, autoDismiss: Boolean = false)
Content copied to clipboard
Method to display MaterialDialog
Parameters
title
title of dialog
message
message of dialog
positiveAction
pair of string and action for positive button, the action is nullable
negativeAction
pair of string and action for negative button, nullable