Afficher en anglais

Partage via


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.

C#
[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

.NET for Android .NET for Android API 35 et .NET for Android .NET for Android API 34
Produit Versions
.NET for Android .NET for Android API 34, .NET for Android API 35

IntArrayEvaluator(Int32[])

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

C#
[Android.Runtime.Register(".ctor", "([I)V", "")]
public IntArrayEvaluator (int[]? reuseArray);

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

.NET for Android .NET for Android API 35 et .NET for Android .NET for Android API 34
Produit Versions
.NET for Android .NET for Android API 34, .NET for Android API 35

IntArrayEvaluator(IntPtr, JniHandleOwnership)

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

C#
protected IntArrayEvaluator (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);

Parameters

javaReference
IntPtr

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

.NET for Android .NET for Android API 35 et .NET for Android .NET for Android API 34
Produit Versions
.NET for Android .NET for Android API 34, .NET for Android API 35