showConfirm

open fun showConfirm(title: String, message: String, positiveText: String, onPositive: Runnable)(source)

Shows a confirmation dialog to the user.

Parameters

title

Dialog title

message

Dialog message

positiveText

Text for the positive button

onPositive

Runnable to execute when positive button is clicked