dismissAfter

fun BaseHUD.dismissAfter(duration: Duration, animated: Boolean = true): BaseHUD

Dismisses the indicator after duration

Parameters

duration

The Duration to wait

animated

Pass true to animate the transition


fun BaseHUD.dismissAfter(timeMillis: Long, animated: Boolean = true): BaseHUD

Dismisses the indicator after timeMillis milliseconds

Parameters

timeMillis

The number of milliseconds to wait

animated

Pass true to animate the transition