BaseAlertPresenter

abstract class BaseAlertPresenter(val alert: Alert, logger: Logger) : AlertActions

Abstract alert presenter, used to show and dismiss given Alert

Parameters

alert

The Alert to present (and dismiss if needed)

logger

The Logger to log alert actions to

See also

Inheritors

Constructors

Link copied to clipboard
constructor(alert: Alert, logger: Logger)

Types

Link copied to clipboard

Abstract alert builder class, used to create a BaseAlertPresenter.

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Functions

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

Dismisses the currently presented Alert

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

Presents an Alert and suspends until completion

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

Presents an Alert