Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. Google에서 어떤 노력을 하고 있는지 확인하세요.


public class ContentLoadingProgressBar
extends ProgressBar

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


Inherited constants

Inherited fields

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

Public constructors


public ContentLoadingProgressBar (Context context)

context Context


public ContentLoadingProgressBar (Context context, 
                AttributeSet attrs)

context Context

attrs AttributeSet

Public methods


public void hide ()

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.


public void onAttachedToWindow ()


public void onDetachedFromWindow ()


public void show ()

Show the progress view after waiting for a minimum delay. If during that time, hide() is called, the view is never made visible.