LayoutInflater LayoutInflater Constructors

Definition

Overloads

LayoutInflater(Context) LayoutInflater(Context)

Create a new LayoutInflater instance associated with a particular Context.

LayoutInflater(LayoutInflater, Context) LayoutInflater(LayoutInflater, Context)

Create a new LayoutInflater instance that is a copy of an existing LayoutInflater, optionally with its Context changed.

LayoutInflater(IntPtr, JniHandleOwnership) LayoutInflater(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

LayoutInflater(Context) LayoutInflater(Context)

Create a new LayoutInflater instance associated with a particular Context.

[Android.Runtime.Register(".ctor", "(Landroid/content/Context;)V", "")]
protected LayoutInflater (Android.Content.Context context);
new Android.Views.LayoutInflater : Android.Content.Context -> Android.Views.LayoutInflater

Parameters

context
Context Context

Remarks

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.

LayoutInflater(LayoutInflater, Context) LayoutInflater(LayoutInflater, Context)

Create a new LayoutInflater instance that is a copy of an existing LayoutInflater, optionally with its Context changed.

[Android.Runtime.Register(".ctor", "(Landroid/view/LayoutInflater;Landroid/content/Context;)V", "")]
protected LayoutInflater (Android.Views.LayoutInflater original, Android.Content.Context newContext);
new Android.Views.LayoutInflater : Android.Views.LayoutInflater * Android.Content.Context -> Android.Views.LayoutInflater

Parameters

newContext
Context Context

Remarks

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.

LayoutInflater(IntPtr, JniHandleOwnership) LayoutInflater(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected LayoutInflater (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Views.LayoutInflater : nativeint * Android.Runtime.JniHandleOwnership -> Android.Views.LayoutInflater

Parameters

javaReference
IntPtr IntPtr

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

Remarks

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