BaseAlertPresenter

abstract class BaseAlertPresenter(alert: Alert) : AlertActions

Abstract alert presenter, used to show and dismiss given Alert

Parameters

alert

The Alert to present (and dismiss if needed)

See also

Inheritors

Constructors

Link copied to clipboard
constructor(alert: Alert)

Types

Link copied to clipboard

Abstract alert builder class, used to create a BaseAlertPresenter.

Functions

Link copied to clipboard
open override fun dismiss(animated: Boolean)

Dismisses the currently presented Alert

Link copied to clipboard
open suspend override fun show(animated: Boolean): Alert.Action?

Presents an Alert and suspends until completion

Link copied to clipboard
open override fun showAsync(animated: Boolean, completion: () -> Unit)

Presents an Alert