ResourceBuilders.AndroidLottieResourceByResId


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


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

Summary

Public methods

@Nullable 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.

@NonNull String

Public methods

getProgress

Added in 1.3.0-alpha04
public @Nullable DynamicBuilders.DynamicFloat getProgress()

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-alpha04
@RawRes
public int getRawResourceId()

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

toString

public @NonNull String toString()