Share via


LayoutInflater.IFactory2 Interface

Definition

[Android.Runtime.Register("android/view/LayoutInflater$Factory2", "", "Android.Views.LayoutInflater/IFactory2Invoker")]
public interface LayoutInflater.IFactory2 : Android.Views.LayoutInflater.IFactory, IDisposable, Java.Interop.IJavaPeerable
[<Android.Runtime.Register("android/view/LayoutInflater$Factory2", "", "Android.Views.LayoutInflater/IFactory2Invoker")>]
type LayoutInflater.IFactory2 = interface
    interface LayoutInflater.IFactory
    interface IJavaObject
    interface IDisposable
    interface IJavaPeerable
Attributes
Implements

Remarks

Android platform documentation

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.

Properties

Context

Return the context we are running in, for access to resources, class loader, etc.

(Inherited from LayoutInflater)
Factory

Return the current Factory (or null). -or- Attach a custom Factory interface for creating views while using this LayoutInflater.

(Inherited from LayoutInflater)
Factory2

Return the current Factory2. -or- Like #setFactory, but allows you to set a Factory2 interface.

(Inherited from LayoutInflater)
Filter

Sets the Filter to by this LayoutInflater.

(Inherited from LayoutInflater)
Handle

Gets the JNI value of the underlying Android object.

(Inherited from IJavaObject)
JniIdentityHashCode

Returns the value of java.lang.System.identityHashCode() for the wrapped instance.

(Inherited from IJavaPeerable)
JniManagedPeerState

State of the managed peer.

(Inherited from IJavaPeerable)
JniPeerMembers

Member access and invocation support.

(Inherited from IJavaPeerable)
PeerReference

Returns a JniObjectReference of the wrapped Java object instance.

(Inherited from IJavaPeerable)
ThresholdClass

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

(Inherited from LayoutInflater)
ThresholdType

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

(Inherited from LayoutInflater)

Methods

CloneInContext(Context)

Create a copy of the existing LayoutInflater object, with the copy pointing to a different Context than the original.

(Inherited from LayoutInflater)
CreateView(Context, String, String, IAttributeSet)

Low-level function for instantiating a view by name.

(Inherited from LayoutInflater)
CreateView(String, String, IAttributeSet)

Low-level function for instantiating a view by name.

(Inherited from LayoutInflater)
Disposed()

Called when the instance has been disposed.

(Inherited from IJavaPeerable)
DisposeUnlessReferenced()

If there are no outstanding references to this instance, then calls Dispose(); otherwise, does nothing.

(Inherited from IJavaPeerable)
Finalized()

Called when the instance has been finalized.

(Inherited from IJavaPeerable)
Inflate(Int32, ViewGroup, Boolean)

Inflate a new view hierarchy from the specified xml resource.

(Inherited from LayoutInflater)
Inflate(Int32, ViewGroup)

Inflate a new view hierarchy from the specified xml resource.

(Inherited from LayoutInflater)
Inflate(XmlReader, ViewGroup, Boolean)

Inflate a new view hierarchy from the specified XML node.

(Inherited from LayoutInflater)
Inflate(XmlReader, ViewGroup)

Inflate a new view hierarchy from the specified xml node.

(Inherited from LayoutInflater)
OnCreateView(Context, View, String, IAttributeSet)

Version of #onCreateView(View, String, AttributeSet) that also takes the inflation context.

(Inherited from LayoutInflater)
OnCreateView(String, IAttributeSet)

This routine is responsible for creating the correct subclass of View given the xml element name.

(Inherited from LayoutInflater)
OnCreateView(View, String, Context, IAttributeSet)

Version of #onCreateView(String, Context, AttributeSet) that also supplies the parent that the view created view will be placed in.

OnCreateView(View, String, IAttributeSet)

Version of #onCreateView(String, AttributeSet) that also takes the future parent of the view being constructed.

(Inherited from LayoutInflater)
SetJniIdentityHashCode(Int32)

Set the value returned by JniIdentityHashCode.

(Inherited from IJavaPeerable)
SetJniManagedPeerState(JniManagedPeerStates) (Inherited from IJavaPeerable)
SetPeerReference(JniObjectReference)

Set the value returned by PeerReference.

(Inherited from IJavaPeerable)
UnregisterFromRuntime()

Unregister this instance so that the runtime will not return it from future Java.Interop.JniRuntime+JniValueManager.PeekValue invocations.

(Inherited from IJavaPeerable)

Extension Methods

JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable)

Applies to