showAsync

abstract fun showAsync(animated: Boolean = true, completion: () -> Unit = {})

Presents an Alert

Parameters

animated

Pass true to animate the presentation

completion

The block to execute after the presentation finishes