open class ContentLoadingProgressBar : ProgressBar
ContentLoadingProgressBar implements a ProgressBar that waits a minimum time to be dismissed before showing. Once visible, the progress bar will be visible for a minimum amount of time to avoid "flashes" in the UI when an event could take a largely variable time to complete (from none, to a user perceivable amount)
Show the progress view after waiting for a minimum delay.
Hide the progress view if it is visible.
open fun onAttachedToWindow(): Unit
open fun onDetachedFromWindow(): Unit
open fun show(): Unit
Show the progress view after waiting for a minimum delay. If during that time, hide() is called, the view is never made visible.
open fun hide(): Unit
Hide the progress view if it is visible. The progress view will not be hidden until it has been shown for at least a minimum show time. If the progress view was not yet visible, cancels showing the progress view.