Stay organized with collections Save and categorize content based on your preferences.
added in version 22.1.0
belongs to Maven artifact


public class ContentLoadingProgressBar
extends ProgressBar

   ↳ android.view.View
     ↳ android.widget.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)


Inherited constants

From class android.view.View

Inherited fields

From class android.view.View

Public constructors

ContentLoadingProgressBar(Context context)
ContentLoadingProgressBar(Context context, AttributeSet attrs)

Public methods

void hide()

Hide the progress view if it is visible.

void onAttachedToWindow()
void onDetachedFromWindow()
void show()

Show the progress view after waiting for a minimum delay.

Inherited methods

From class android.widget.ProgressBar
From class android.view.View