DynamicAnimation.ViewProperty


public abstract class DynamicAnimation.ViewProperty extends FloatPropertyCompat


ViewProperty holds the access of a property of a View. When an animation is created with a ViewProperty instance, the corresponding property value of the view will be updated through this ViewProperty instance.

Summary

Inherited methods

From androidx.dynamicanimation.animation.FloatPropertyCompat
static FloatPropertyCompat<T>
@RequiresApi(value = 24)
<T> createFloatPropertyCompat(FloatProperty<T> property)

Create a FloatPropertyCompat wrapper for a FloatProperty object.

abstract float
getValue(T object)

Returns the current value that this property represents on the given object.

abstract void
setValue(T object, float value)

Sets the value on object which this property represents.