DialogEvent

sealed class DialogEvent

the sealed event for all dialog events (button click and dismissal)

DialogEvent.dismissed the information if this event will dismiss the dialog or not DialogEvent.type a convenient enum to determine, if this is the event is a positive button, negative button or a dismissal

Inheritors

Types

Link copied to clipboard
class Button(val button: DialogButtonType, val dismissed: Boolean) : DialogEvent

the event of a dialog button click

Link copied to clipboard

the event of a dialog dismissal

Properties

Link copied to clipboard
abstract val dismissed: Boolean
Link copied to clipboard
Link copied to clipboard
abstract val type: DialogEventType