共用方式為


ValueAnimator.AnimatedValue Property

Definition

The most recent value calculated by this ValueAnimator when there is just one property being animated.

public virtual Java.Lang.Object? AnimatedValue { [Android.Runtime.Register("getAnimatedValue", "()Ljava/lang/Object;", "GetGetAnimatedValueHandler")] get; }
[<get: Android.Runtime.Register("getAnimatedValue", "()Ljava/lang/Object;", "GetGetAnimatedValueHandler")>]
member this.AnimatedValue : Java.Lang.Object

Property Value

animatedValue The value most recently calculated by this ValueAnimator for the single property being animated. If there are several properties being animated (specified by several PropertyValuesHolder objects in the constructor), this function returns the animated value for the first of those objects.

Attributes

Remarks

The most recent value calculated by this ValueAnimator when there is just one property being animated. This value is only sensible while the animation is running. The main purpose for this read-only property is to retrieve the value from the ValueAnimator during a call to AnimatorUpdateListener#onAnimationUpdate(ValueAnimator), which is called during each animation frame, immediately after the value is calculated.

Java documentation for android.animation.ValueAnimator.getAnimatedValue().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to