AnimatedDrawableRes

data class AnimatedDrawableRes(@DrawableRes val drawableId: Int) : SparkIcon

Deprecated

AnimatedPainter will replace AnimatedDrawableRes

Replace with

import com.adevinta.spark.icons.SparkIcon.AnimatedPainter
SparkIcon.AnimatedPainter

An icon represented by an android animated vector drawable.

This supports Android's native animated vector drawables for complex animations defined in XML resources.

Constructors

Link copied to clipboard
constructor(@DrawableRes drawableId: Int)

Properties

Link copied to clipboard

The resource ID of the animated drawable to display