ContentLoadingProgressBar

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).

Constructors

Link copied to clipboard
constructor(@NonNull context: Context)
constructor(@NonNull context: Context, @Nullable attrs: AttributeSet)

Functions

Link copied to clipboard
open fun hide()
Hide the progress view if it is visible.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun show()
Show the progress view after waiting for a minimum delay.