LoadingIndicatorSpec

This class contains the parameters for drawing a loading indicator. The parameters reflect the attributes defined in R.styleable.LoadingIndicator.

Constructors

Link copied to clipboard
constructor(@NonNull context: Context, @NonNull attrs: AttributeSet)
constructor(@NonNull context: Context, @Nullable attrs: AttributeSet, @AttrRes defStyleAttr: Int)
constructor(@NonNull context: Context, @Nullable attrs: AttributeSet, @AttrRes defStyleAttr: Int, @StyleRes defStyleRes: Int)

Functions

Link copied to clipboard
open fun setScaleToFit(scaleToFit: Boolean)
Sets the scale specs to fit the given bound of the LoadingIndicatorDrawable.