The Developer Preview for Android 11 is now available; test it out and share your feedback.

ValueHolder

interface ValueHolder<T>
androidx.animation.ValueHolder

A value holder contains two fields: A mutable value that is expected to change throughout an animation, and an immutable value converter

Summary

Inherited extension functions

From androidx.compose
operator T

IMPORTANT: This global operator is TEMPORARY, and should be removed whenever an answer for contextual composers is reached.

Properties

abstract T

Value of the ValueHolder.

Properties

value

abstract var value: T

Value of the ValueHolder. This value will be updated by subclasses of BaseAnimatedValue.