fun prompt(message: String, title: String? = null, buttonLabels: List<String>? = null, defaultText: String? = null, callback: (PromptResponse) -> Unit): Unit
Show prompt dialog.
title
- an optional dialog title (defaults to Prompt)
buttonLabels
- an optional list of button labels (defaults to OK,Cancel)