showMaterialDialog

fun Context.showMaterialDialog(title: String? = null, message: String? = null, positiveButtonText: String? = null, positiveButtonCallback: () -> Unit = {}, negativeButtonText: String? = null, negativeButtonCallback: () -> Unit = {}, isCancelable: Boolean = true)

An extension function that can be used to display a material dialog to the user.