Dela via


TransitionInflater.InflateTransitionManager(Int32, ViewGroup) Method

Definition

Loads a TransitionManager object from a resource

[Android.Runtime.Register("inflateTransitionManager", "(ILandroid/view/ViewGroup;)Landroid/transition/TransitionManager;", "GetInflateTransitionManager_ILandroid_view_ViewGroup_Handler")]
public virtual Android.Transitions.TransitionManager? InflateTransitionManager (int resource, Android.Views.ViewGroup? sceneRoot);
[<Android.Runtime.Register("inflateTransitionManager", "(ILandroid/view/ViewGroup;)Landroid/transition/TransitionManager;", "GetInflateTransitionManager_ILandroid_view_ViewGroup_Handler")>]
abstract member InflateTransitionManager : int * Android.Views.ViewGroup -> Android.Transitions.TransitionManager
override this.InflateTransitionManager : int * Android.Views.ViewGroup -> Android.Transitions.TransitionManager

Parameters

resource
Int32

The resource id of the transition manager to load

sceneRoot
ViewGroup

Returns

The loaded TransitionManager object

Attributes

Exceptions

when the transition manager cannot be loaded

Remarks

Loads a TransitionManager object from a resource

Java documentation for android.transition.TransitionInflater.inflateTransitionManager(int, 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