Share via


LayoutInflater.From(Context) Method

Definition

Obtains the LayoutInflater from the given context.

[Android.Runtime.Register("from", "(Landroid/content/Context;)Landroid/view/LayoutInflater;", "")]
public static Android.Views.LayoutInflater? From (Android.Content.Context? context);
[<Android.Runtime.Register("from", "(Landroid/content/Context;)Landroid/view/LayoutInflater;", "")>]
static member From : Android.Content.Context -> Android.Views.LayoutInflater

Parameters

context
Context

Returns

Attributes

Remarks

Obtains the LayoutInflater from the given context.

Java documentation for android.view.LayoutInflater.from(android.content.Context).

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