ResourceBuilders.AndroidLottieResourceByResId


@RequiresSchemaVersion(major = 1, minor = 500)
class ResourceBuilders.AndroidLottieResourceByResId


A Lottie resource that is read from a raw Android resource ID.

Summary

Public functions

DynamicBuilders.DynamicFloat?

Gets a androidx.wear.protolayout.expression.DynamicBuilders.DynamicFloat, normally transformed from certain states with the data binding pipeline to control the progress of the animation.

Int

Gets the Android resource ID, e.g. R.raw.foo.

String

Public functions

getProgress

Added in 1.3.0-alpha05
fun getProgress(): DynamicBuilders.DynamicFloat?

Gets a androidx.wear.protolayout.expression.DynamicBuilders.DynamicFloat, normally transformed from certain states with the data binding pipeline to control the progress of the animation.

getRawResourceId

Added in 1.3.0-alpha05
@RawRes
fun getRawResourceId(): Int

Gets the Android resource ID, e.g. R.raw.foo.

toString

fun toString(): String