Udostępnij za pośrednictwem


LayoutTransition.GetAnimator(LayoutTransitionType) Method

Definition

Gets the animation used during one of the transition types that may run.

[Android.Runtime.Register("getAnimator", "(I)Landroid/animation/Animator;", "GetGetAnimator_IHandler")]
public virtual Android.Animation.Animator? GetAnimator (Android.Animation.LayoutTransitionType transitionType);
[<Android.Runtime.Register("getAnimator", "(I)Landroid/animation/Animator;", "GetGetAnimator_IHandler")>]
abstract member GetAnimator : Android.Animation.LayoutTransitionType -> Android.Animation.Animator
override this.GetAnimator : Android.Animation.LayoutTransitionType -> Android.Animation.Animator

Parameters

transitionType
LayoutTransitionType

One of #CHANGE_APPEARING, #CHANGE_DISAPPEARING, #CHANGING, #APPEARING, or #DISAPPEARING, which determines the animation whose animator is being returned.

Returns

Animator The animation being used for the given transition type.

Attributes

Remarks

Gets the animation used during one of the transition types that may run.

Java documentation for android.animation.LayoutTransition.getAnimator(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

See also

  • <xref:Android.Animation.LayoutTransition.SetAnimator(Android.Animation.LayoutTransitionType%2c+Android.Animation.Animator)>