Table of Contents

Class LayoutInflater

Namespace
Android.View
Assembly
MASES.Netdroid.dll
public class LayoutInflater : JVMBridgeBase<LayoutInflater>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition
Inheritance
LayoutInflater
Implements
Extension Methods

Constructors

LayoutInflater(IJVMBridgeBaseInitializer)

Initializer used internally by JCOBridge. Do not use directly.

[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public LayoutInflater(IJVMBridgeBaseInitializer initializer)

Parameters

initializer IJVMBridgeBaseInitializer

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements java.lang.AutoCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

Methods

CloneInContext(Context)

public LayoutInflater CloneInContext(Context arg0)

Parameters

arg0 Context

Context

Returns

LayoutInflater

LayoutInflater

CreateView(Context, String, String, AttributeSet)

public View CreateView(Context arg0, String arg1, String arg2, AttributeSet arg3)

Parameters

arg0 Context

Context

arg1 String

String

arg2 String

String

arg3 AttributeSet

AttributeSet

Returns

View

View

Exceptions

ClassNotFoundException
InflateException

CreateView(String, String, AttributeSet)

public View CreateView(String arg0, String arg1, AttributeSet arg2)

Parameters

arg0 String

String

arg1 String

String

arg2 AttributeSet

AttributeSet

Returns

View

View

Exceptions

ClassNotFoundException
InflateException

From(Context)

public static LayoutInflater From(Context arg0)

Parameters

arg0 Context

Context

Returns

LayoutInflater

LayoutInflater

GetContext()

public Context GetContext()

Returns

Context

Context

GetFactory()

public LayoutInflater.Factory GetFactory()

Returns

LayoutInflater.Factory

LayoutInflater.Factory

GetFactory2()

public LayoutInflater.Factory2 GetFactory2()

Returns

LayoutInflater.Factory2

LayoutInflater.Factory2

GetFilter()

public LayoutInflater.Filter GetFilter()

Returns

LayoutInflater.Filter

LayoutInflater.Filter

Inflate(XmlPullParser, ViewGroup)

public View Inflate(XmlPullParser arg0, ViewGroup arg1)

Parameters

arg0 XmlPullParser

XmlPullParser

arg1 ViewGroup

ViewGroup

Returns

View

View

Inflate(XmlPullParser, ViewGroup, bool)

public View Inflate(XmlPullParser arg0, ViewGroup arg1, bool arg2)

Parameters

arg0 XmlPullParser

XmlPullParser

arg1 ViewGroup

ViewGroup

arg2 bool

bool

Returns

View

View

Inflate(int, ViewGroup)

public View Inflate(int arg0, ViewGroup arg1)

Parameters

arg0 int

int

arg1 ViewGroup

ViewGroup

Returns

View

View

Inflate(int, ViewGroup, bool)

public View Inflate(int arg0, ViewGroup arg1, bool arg2)

Parameters

arg0 int

int

arg1 ViewGroup

ViewGroup

arg2 bool

bool

Returns

View

View

OnCreateView(Context, View, String, AttributeSet)

public View OnCreateView(Context arg0, View arg1, String arg2, AttributeSet arg3)

Parameters

arg0 Context

Context

arg1 View

View

arg2 String

String

arg3 AttributeSet

AttributeSet

Returns

View

View

Exceptions

ClassNotFoundException

SetFactory(Factory)

public void SetFactory(LayoutInflater.Factory arg0)

Parameters

arg0 LayoutInflater.Factory

LayoutInflater.Factory

SetFactory2(Factory2)

public void SetFactory2(LayoutInflater.Factory2 arg0)

Parameters

arg0 LayoutInflater.Factory2

LayoutInflater.Factory2

SetFilter(Filter)

public void SetFilter(LayoutInflater.Filter arg0)

Parameters

arg0 LayoutInflater.Filter

LayoutInflater.Filter