buildAlert

fun BaseAlertPresenter.Builder.buildAlert(coroutineScope: CoroutineScope, initialize: Alert.Builder.() -> Unit): BaseAlertPresenter

Builds a BaseAlertPresenter of type Alert.Style.ALERT using DSL syntax (thread safe)

Return

The built BaseAlertPresenter

Parameters

coroutineScope

The CoroutineScope managing the alert lifecycle.

initialize

The block to construct an Alert