New Compose Multiplatform components arrived on Composables UICheck it out →

CircularProgressIndicator

Adds a circular progress indicator view to the glance view.

Last updated:

Installation

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

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.