Udostępnij za pośrednictwem


TransitionManager.Go Method

Definition

Overloads

Go(Scene)

Convenience method to simply change to the given scene using the default transition for TransitionManager.

Go(Scene, Transition)

Convenience method to simply change to the given scene using the given transition.

Go(Scene)

Convenience method to simply change to the given scene using the default transition for TransitionManager.

[Android.Runtime.Register("go", "(Landroid/transition/Scene;)V", "")]
public static void Go (Android.Transitions.Scene? scene);
[<Android.Runtime.Register("go", "(Landroid/transition/Scene;)V", "")>]
static member Go : Android.Transitions.Scene -> unit

Parameters

scene
Scene

The Scene to change to

Attributes

Remarks

Convenience method to simply change to the given scene using the default transition for TransitionManager.

Java documentation for android.transition.TransitionManager.go(android.transition.Scene).

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

Go(Scene, Transition)

Convenience method to simply change to the given scene using the given transition.

[Android.Runtime.Register("go", "(Landroid/transition/Scene;Landroid/transition/Transition;)V", "")]
public static void Go (Android.Transitions.Scene? scene, Android.Transitions.Transition? transition);
[<Android.Runtime.Register("go", "(Landroid/transition/Scene;Landroid/transition/Transition;)V", "")>]
static member Go : Android.Transitions.Scene * Android.Transitions.Transition -> unit

Parameters

scene
Scene

The Scene to change to

transition
Transition

The transition to use for this scene change. A value of null causes the scene change to happen with no transition.

Attributes

Remarks

Convenience method to simply change to the given scene using the given transition.

Passing in null for the transition parameter will result in the scene changing without any transition running, and is equivalent to calling Scene#exit() on the scene root's current scene, followed by Scene#enter() on the scene specified by the scene parameter.

Java documentation for android.transition.TransitionManager.go(android.transition.Scene, 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