Share via


ValueAnimator.OfObject(ITypeEvaluator, Object[]) Method

Definition

Constructs and returns a ValueAnimator that animates between Object values.

[Android.Runtime.Register("ofObject", "(Landroid/animation/TypeEvaluator;[Ljava/lang/Object;)Landroid/animation/ValueAnimator;", "")]
public static Android.Animation.ValueAnimator? OfObject (Android.Animation.ITypeEvaluator? evaluator, params Java.Lang.Object[]? values);
[<Android.Runtime.Register("ofObject", "(Landroid/animation/TypeEvaluator;[Ljava/lang/Object;)Landroid/animation/ValueAnimator;", "")>]
static member OfObject : Android.Animation.ITypeEvaluator * Java.Lang.Object[] -> Android.Animation.ValueAnimator

Parameters

evaluator
ITypeEvaluator

A TypeEvaluator that will be called on each animation frame to provide the ncessry interpolation between the Object values to derive the animated value.

values
Object[]

A set of values that the animation will animate between over time.

Returns

A ValueAnimator object that is set up to animate between the given values.

Attributes

Remarks

Java documentation for android.animation.ValueAnimator.ofObject(android.animation.TypeEvaluator, java.lang.Object).

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