Action

data class Action(val title: String, val style: Alert.Action.Style = Style.DEFAULT, val handler: AlertActionHandler = {})

An action that represents a button in the alert

Constructors

Link copied to clipboard
constructor(title: String, style: Alert.Action.Style = Style.DEFAULT, handler: AlertActionHandler = {})

Types

Link copied to clipboard

The style of an action. This determines the look of the button when displayed in the alert.

Properties

Link copied to clipboard

The block to execute when the user taps a button

Link copied to clipboard

The Style that is applied to the action's button

Link copied to clipboard

The title of the action's button