Share via


FloatArrayEvaluator Constructors

Definition

Overloads

FloatArrayEvaluator()

Create a FloatArrayEvaluator that does not reuse the animated value.

FloatArrayEvaluator(Single[])

Create a FloatArrayEvaluator that reuses reuseArray for every evaluate() call.

FloatArrayEvaluator(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

FloatArrayEvaluator()

Create a FloatArrayEvaluator that does not reuse the animated value.

[Android.Runtime.Register(".ctor", "()V", "")]
public FloatArrayEvaluator ();
Attributes

Remarks

Create a FloatArrayEvaluator that does not reuse the animated value. Care must be taken when using this option because on every evaluation a new float[] will be allocated.

Java documentation for android.animation.FloatArrayEvaluator.FloatArrayEvaluator().

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.

See also

  • <xref:Android.Animation.FloatArrayEvaluator(System.Single%5b%5d)>

Applies to

FloatArrayEvaluator(Single[])

Create a FloatArrayEvaluator that reuses reuseArray for every evaluate() call.

[Android.Runtime.Register(".ctor", "([F)V", "")]
public FloatArrayEvaluator (float[]? reuseArray);
[<Android.Runtime.Register(".ctor", "([F)V", "")>]
new Android.Animation.FloatArrayEvaluator : single[] -> Android.Animation.FloatArrayEvaluator

Parameters

reuseArray
Single[]

The array to modify and return from evaluate.

Attributes

Remarks

Create a FloatArrayEvaluator that reuses reuseArray for every evaluate() call. Caution must be taken to ensure that the value returned from android.animation.ValueAnimator#getAnimatedValue() is not cached, modified, or used across threads. The value will be modified on each evaluate() call.

Java documentation for android.animation.FloatArrayEvaluator.FloatArrayEvaluator(float[]).

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

FloatArrayEvaluator(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected FloatArrayEvaluator (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Animation.FloatArrayEvaluator : nativeint * Android.Runtime.JniHandleOwnership -> Android.Animation.FloatArrayEvaluator

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

Remarks

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