Android.Animation.AnimatorSet Class
This class plays a set of Android.Animation.Animator objects in the specified order.

See Also: AnimatorSet Members

Syntax

[Android.Runtime.Register("android/animation/AnimatorSet", DoNotGenerateAcw=true)]
public sealed class AnimatorSet : Animator

Remarks

This class plays a set of Android.Animation.Animator objects in the specified order. Animations can be set up to play together, in sequence, or after a specified delay.

There are two different approaches to adding animations to a AnimatorSet: either the AnimatorSet.playTogether(android.animation.Animator...) or AnimatorSet.playSequentially(android.animation.Animator...) methods can be called to add a set of animations all at once, or the AnimatorSet.Play(Animator) can be used in conjunction with methods in the NoType:android/animation/AnimatorSet$Builder;Href=../../../reference/android/animation/AnimatorSet.Builder.html class to add animations one by one.

It is possible to set up a AnimatorSet with circular dependencies between its animations. For example, an animation a1 could be set up to start before animation a2, a2 before a3, and a3 before a1. The results of this configuration are undefined, but will typically result in none of the affected animations being played. Because of this (and because circular dependencies do not make logical sense anyway), circular dependencies should be avoided, and the dependency flow of animations should only be in one direction.

Developer Guides

For more information about animating with AnimatorSet, read the Property Animation developer guide.

[Android Documentation]

Requirements

Namespace: Android.Animation
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 11