Compartilhar via


TransitionDrawable.ReverseTransition(Int32) Method

Definition

Reverses the transition, picking up where the transition currently is.

[Android.Runtime.Register("reverseTransition", "(I)V", "GetReverseTransition_IHandler")]
public virtual void ReverseTransition (int duration);
[<Android.Runtime.Register("reverseTransition", "(I)V", "GetReverseTransition_IHandler")>]
abstract member ReverseTransition : int -> unit
override this.ReverseTransition : int -> unit

Parameters

duration
Int32

The duration to use if no transition is running.

Attributes

Remarks

Reverses the transition, picking up where the transition currently is. If the transition is not currently running, this will start the transition with the specified duration. If the transition is already running, the last known duration will be used.

Java documentation for android.graphics.drawable.TransitionDrawable.reverseTransition(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