show

open fun show(alertText: String, duration: Long, showLoading: Boolean)

Animates the View from top down to its set position.

If a non-null duration is passed, a countdown loading bar will show toindicate the View will be automatically dismissed if not clicked.

Parameters

alertText

text to be shown in the View

duration

in milliseconds, how long the view will be shown

showLoading

true if should show the progress bar, false if not