We just launched Compose Examples featuring over 150+ components! Check it out →

CircularProgressIndicator

Android

Component in Jetpack Glance

Adds a circular progress indicator view to the glance view.

Last updated:

Installation

dependencies {
   implementation("androidx.glance:glance-appwidget:1.1.1")
}

Overloads

@Composable
fun CircularProgressIndicator(
    modifier: GlanceModifier = GlanceModifier,
    color: ColorProvider = ProgressIndicatorDefaults.IndicatorColorProvider,
)

Parameters

namedescription
modifierthe modifier to apply to the progress bar
colorThe color of the progress indicator.
by @alexstyl