共用方式為


IntArrayEvaluator Constructors

Definition

Overloads

IntArrayEvaluator()

Create an IntArrayEvaluator that does not reuse the animated value.

IntArrayEvaluator(Int32[])

Create an IntArrayEvaluator that reuses reuseArray for every evaluate() call.

IntArrayEvaluator(IntPtr, JniHandleOwnership)

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

IntArrayEvaluator()

Create an IntArrayEvaluator that does not reuse the animated value.

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

Remarks

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

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

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.IntArrayEvaluator(System.Int32%5b%5d)>

Applies to

IntArrayEvaluator(Int32[])

Create an IntArrayEvaluator that reuses reuseArray for every evaluate() call.

[Android.Runtime.Register(".ctor", "([I)V", "")]
public IntArrayEvaluator (int[]? reuseArray);
[<Android.Runtime.Register(".ctor", "([I)V", "")>]
new Android.Animation.IntArrayEvaluator : int[] -> Android.Animation.IntArrayEvaluator

Parameters

reuseArray
Int32[]

The array to modify and return from evaluate.

Attributes

Remarks

Create an IntArrayEvaluator 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.IntArrayEvaluator.IntArrayEvaluator(int[]).

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

IntArrayEvaluator(IntPtr, JniHandleOwnership)

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

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

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