Udostępnij za pośrednictwem


Transition.AddListener(Transition+ITransitionListener) Method

Definition

Adds a listener to the set of listeners that are sent events through the life of an animation, such as start, repeat, and end.

[Android.Runtime.Register("addListener", "(Landroid/transition/Transition$TransitionListener;)Landroid/transition/Transition;", "GetAddListener_Landroid_transition_Transition_TransitionListener_Handler")]
public virtual Android.Transitions.Transition? AddListener (Android.Transitions.Transition.ITransitionListener? listener);
[<Android.Runtime.Register("addListener", "(Landroid/transition/Transition$TransitionListener;)Landroid/transition/Transition;", "GetAddListener_Landroid_transition_Transition_TransitionListener_Handler")>]
abstract member AddListener : Android.Transitions.Transition.ITransitionListener -> Android.Transitions.Transition
override this.AddListener : Android.Transitions.Transition.ITransitionListener -> Android.Transitions.Transition

Parameters

listener
Transition.ITransitionListener

the listener to be added to the current set of listeners for this animation.

Returns

This transition object.

Attributes

Remarks

Java documentation for android.transition.Transition.addListener(android.transition.TransitionListener).

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