AlertPresenter

constructor(alert: Alert, lifecycleManagerObserver: LifecycleManagerObserver = LifecycleManagerObserver(), coroutineScope: CoroutineScope)

Parameters

alert

The Alert being presented.

lifecycleManagerObserver

The LifecycleManagerObserver to observe lifecycle changes

coroutineScope

The CoroutineScope managing changes to the alert presentation.

constructor(alert: <Error class: unknown class>, parent: <Error class: unknown class>, delegateBuilder: (<Error class: unknown class>) -> <Error class: unknown class>)

Parameters

alert

The Alert being presented.

parent

The UIViewController to present the Alert

delegateBuilder

Method that creates a UIPopoverPresentationControllerDelegateProtocol. This allows for presentation of Alert.Style.ACTION_LIST on iPad.

constructor(alert: Alert)

Parameters

alert

The Alert being presented.

constructor(alert: Alert)

Parameters

alert

The Alert being presented.