Share via


TransitionInflater.InflateTransition(Int32) Method

Definition

Loads a Transition object from a resource

[Android.Runtime.Register("inflateTransition", "(I)Landroid/transition/Transition;", "GetInflateTransition_IHandler")]
public virtual Android.Transitions.Transition? InflateTransition (int resource);
[<Android.Runtime.Register("inflateTransition", "(I)Landroid/transition/Transition;", "GetInflateTransition_IHandler")>]
abstract member InflateTransition : int -> Android.Transitions.Transition
override this.InflateTransition : int -> Android.Transitions.Transition

Parameters

resource
Int32

The resource id of the transition to load

Returns

The loaded Transition object

Attributes

Exceptions

when the transition cannot be loaded

Remarks

Loads a Transition object from a resource

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