Share via


LayoutTransition.ITransitionListener.StartTransition Method

Definition

This event is sent to listeners when any type of transition animation begins.

[Android.Runtime.Register("startTransition", "(Landroid/animation/LayoutTransition;Landroid/view/ViewGroup;Landroid/view/View;I)V", "GetStartTransition_Landroid_animation_LayoutTransition_Landroid_view_ViewGroup_Landroid_view_View_IHandler:Android.Animation.LayoutTransition/ITransitionListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void StartTransition (Android.Animation.LayoutTransition? transition, Android.Views.ViewGroup? container, Android.Views.View? view, Android.Animation.LayoutTransitionType transitionType);
[<Android.Runtime.Register("startTransition", "(Landroid/animation/LayoutTransition;Landroid/view/ViewGroup;Landroid/view/View;I)V", "GetStartTransition_Landroid_animation_LayoutTransition_Landroid_view_ViewGroup_Landroid_view_View_IHandler:Android.Animation.LayoutTransition/ITransitionListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member StartTransition : Android.Animation.LayoutTransition * Android.Views.ViewGroup * Android.Views.View * Android.Animation.LayoutTransitionType -> unit

Parameters

transition
LayoutTransition

The LayoutTransition sending out the event.

container
ViewGroup

The ViewGroup on which the transition is playing.

view
View

The View object being affected by the transition animation.

transitionType
LayoutTransitionType

The type of transition that is beginning, android.animation.LayoutTransition#APPEARING, android.animation.LayoutTransition#DISAPPEARING, android.animation.LayoutTransition#CHANGE_APPEARING, or android.animation.LayoutTransition#CHANGE_DISAPPEARING.

Attributes

Remarks

This event is sent to listeners when any type of transition animation begins.

Java documentation for android.animation.LayoutTransition.TransitionListener.startTransition(android.animation.LayoutTransition, android.view.ViewGroup, android.view.View, 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