PropertyValuesHolder.SetIntValues(Int32[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Set the animated values for this object to this set of ints.
[Android.Runtime.Register("setIntValues", "([I)V", "GetSetIntValues_arrayIHandler")]
public virtual void SetIntValues (params int[]? values);
[<Android.Runtime.Register("setIntValues", "([I)V", "GetSetIntValues_arrayIHandler")>]
abstract member SetIntValues : int[] -> unit
override this.SetIntValues : int[] -> unit
Parameters
- values
- Int32[]
One or more values that the animation will animate between.
- Attributes
Remarks
Set the animated values for this object to this set of ints. If there is only one value, it is assumed to be the end value of an animation, and an initial value will be derived, if possible, by calling a getter function on the object. Also, if any value is null, the value will be filled in when the animation starts in the same way. This mechanism of automatically getting null values only works if the PropertyValuesHolder object is used in conjunction ObjectAnimator
, and with a getter function derived automatically from propertyName
, since otherwise PropertyValuesHolder has no way of determining what the value should be.
Java documentation for android.animation.PropertyValuesHolder.setIntValues(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.