Dela via


Transition.ITransitionListener.OnTransitionCancel(Transition) Method

Definition

Notification about the cancellation of the transition.

[Android.Runtime.Register("onTransitionCancel", "(Landroid/transition/Transition;)V", "GetOnTransitionCancel_Landroid_transition_Transition_Handler:Android.Transitions.Transition/ITransitionListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void OnTransitionCancel (Android.Transitions.Transition transition);
[<Android.Runtime.Register("onTransitionCancel", "(Landroid/transition/Transition;)V", "GetOnTransitionCancel_Landroid_transition_Transition_Handler:Android.Transitions.Transition/ITransitionListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnTransitionCancel : Android.Transitions.Transition -> unit

Parameters

transition
Transition

The transition which was canceled.

Attributes

Remarks

Notification about the cancellation of the transition. Note that cancel may be called by a parent TransitionSet on a child transition which has not yet started. This allows the child transition to restore state on target objects which was set at #createAnimator(android.view.ViewGroup, TransitionValues, TransitionValues) createAnimator() time.

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

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