Udostępnij za pośrednictwem


TransitionManager.BeginDelayedTransition Method

Definition

Overloads

BeginDelayedTransition(ViewGroup)

Convenience method to animate, using the default transition, to a new scene defined by all changes within the given scene root between calling this method and the next rendering frame.

BeginDelayedTransition(ViewGroup, Transition)

Convenience method to animate to a new scene defined by all changes within the given scene root between calling this method and the next rendering frame.

BeginDelayedTransition(ViewGroup)

Convenience method to animate, using the default transition, to a new scene defined by all changes within the given scene root between calling this method and the next rendering frame.

[Android.Runtime.Register("beginDelayedTransition", "(Landroid/view/ViewGroup;)V", "")]
public static void BeginDelayedTransition (Android.Views.ViewGroup? sceneRoot);
[<Android.Runtime.Register("beginDelayedTransition", "(Landroid/view/ViewGroup;)V", "")>]
static member BeginDelayedTransition : Android.Views.ViewGroup -> unit

Parameters

sceneRoot
ViewGroup

The root of the View hierarchy to run the transition on.

Attributes

Remarks

Convenience method to animate, using the default transition, to a new scene defined by all changes within the given scene root between calling this method and the next rendering frame. Equivalent to calling #beginDelayedTransition(ViewGroup, Transition) with a value of null for the transition parameter.

Java documentation for android.transition.TransitionManager.beginDelayedTransition(android.view.ViewGroup).

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

BeginDelayedTransition(ViewGroup, Transition)

Convenience method to animate to a new scene defined by all changes within the given scene root between calling this method and the next rendering frame.

[Android.Runtime.Register("beginDelayedTransition", "(Landroid/view/ViewGroup;Landroid/transition/Transition;)V", "")]
public static void BeginDelayedTransition (Android.Views.ViewGroup? sceneRoot, Android.Transitions.Transition? transition);
[<Android.Runtime.Register("beginDelayedTransition", "(Landroid/view/ViewGroup;Landroid/transition/Transition;)V", "")>]
static member BeginDelayedTransition : Android.Views.ViewGroup * Android.Transitions.Transition -> unit

Parameters

sceneRoot
ViewGroup

The root of the View hierarchy to run the transition on.

transition
Transition

The transition to use for this change. A value of null causes the TransitionManager to use the default transition.

Attributes

Remarks

Convenience method to animate to a new scene defined by all changes within the given scene root between calling this method and the next rendering frame. Calling this method causes TransitionManager to capture current values in the scene root and then post a request to run a transition on the next frame. At that time, the new values in the scene root will be captured and changes will be animated. There is no need to create a Scene; it is implied by changes which take place between calling this method and the next frame when the transition begins.

Calling this method several times before the next frame (for example, if unrelated code also wants to make dynamic changes and run a transition on the same scene root), only the first call will trigger capturing values and exiting the current scene. Subsequent calls to the method with the same scene root during the same frame will be ignored.

Passing in null for the transition parameter will cause the TransitionManager to use its default transition.

Java documentation for android.transition.TransitionManager.beginDelayedTransition(android.view.ViewGroup, 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