Loading

data class Loading(val progress: Float?) : OudsButton.Style

The button displays a circular loading indicator.

Parameters

progress

The loading progress, where 0.0 represents no progress and 1.0 represents full progress. Values outside of this range are coerced into the range. Set this value to null to display a circular indeterminate progress indicator.

Constructors

Link copied to clipboard
constructor(progress: Float?)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)