ProgressPrimitiveComponent

class ProgressPrimitiveComponent(@ColorInt color: Int = Color.TRANSPARENT, indeterminateDrawable: Drawable? = null, style: Style? = null, @AttrRes defStyleAttr: Int = 0, @StyleRes defStyleRes: Int = 0) : PrimitiveComponent

Renders an infinitely spinning progress bar.

Parameters

indeterminateDrawable

Drawable to be shown to show progress.

color

Tint color for the drawable.

defStyleAttr

An attribute in the current theme that contains a reference to a style resource that supplies defaults for the progress bar, such as its android:indeterminateDrawable.

defStyleRes

A style resource that supplies defaults for the progress bar, such as its android:indeterminateDrawable. Used only when indeterminateDrawable is not provided.

Constructors

Link copied to clipboard
constructor(@ColorInt color: Int = Color.TRANSPARENT, indeterminateDrawable: Drawable? = null, style: Style? = null, @AttrRes defStyleAttr: Int = 0, @StyleRes defStyleRes: Int = 0)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
Link copied to clipboard
operator override fun equals(@Nullable other: Any?): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
override fun getSimpleName(): String
Link copied to clipboard
fun getTypeId(): Int
Link copied to clipboard
override fun hashCode(): Int
Link copied to clipboard
override fun isEquivalentTo(other: Component?): Boolean
Link copied to clipboard
override fun makeShallowCopy(): Component
Link copied to clipboard
fun measure(p0: ComponentContext, p1: Int, p2: Int, p3: Size)
fun measure(p0: ComponentContext, p1: Int, p2: Int, p3: Size, p4: Boolean)
Link copied to clipboard
Link copied to clipboard
open override fun resolveDeferred(calculationContext: CalculationContext, componentContext: ComponentContext, parentContext: ComponentContext): ComponentResolveResult
Link copied to clipboard
Link copied to clipboard
open override fun <T : Any> setDebugAttributeKey(attributeKey: AttributeKey<T>, value: T & Any)
Link copied to clipboard
override fun toString(): String