DynamicAnimation.ViewProperty


abstract class DynamicAnimation.ViewProperty : 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 functions

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

Create a FloatPropertyCompat wrapper for a FloatProperty object.

abstract Float
getValue(object: T!)

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

abstract Unit
setValue(object: T!, value: Float)

Sets the value on object which this property represents.