See Also: LayoutInflater Members
Instantiates a layout XML file into its corresponding Android.Views.View objects. It is never used directly. Instead, use Android.App.Activity.LayoutInflater or Android.Content.Context.GetSystemService(string) to retrieve a standard LayoutInflater instance that is already hooked up to the current context and correctly configured for the device you are running on. For example:
java Example
LayoutInflater inflater = (LayoutInflater)context.getSystemService (Context.LAYOUT_INFLATER_SERVICE);
To create a new LayoutInflater with an additional NoType:android/view/LayoutInflater$Factory;Href=../../../reference/android/view/LayoutInflater.Factory.html for your own views, you can use LayoutInflater.CloneInContext(Android.Content.Context) to clone an existing ViewFactory, and then call LayoutInflater.Factory on it to include your Factory.
For performance reasons, view inflation relies heavily on pre-processing of XML files that is done at build time. Therefore, it is not currently possible to use LayoutInflater with an XmlPullParser over a plain XML file at runtime; it only works with an XmlPullParser returned from a compiled resource (R.something file.)