Fragment.LayoutInflater Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the cached LayoutInflater used to inflate Views of this Fragment.
public Android.Views.LayoutInflater? LayoutInflater { [Android.Runtime.Register("getLayoutInflater", "()Landroid/view/LayoutInflater;", "", ApiSince=26)] get; }
[<get: Android.Runtime.Register("getLayoutInflater", "()Landroid/view/LayoutInflater;", "", ApiSince=26)>]
member this.LayoutInflater : Android.Views.LayoutInflater
Property Value
The LayoutInflater used to inflate Views of this Fragment.
- Attributes
Remarks
Returns the cached LayoutInflater used to inflate Views of this Fragment. If #onGetLayoutInflater(Bundle)
has not been called #onGetLayoutInflater(Bundle)
will be called with a null
argument and that value will be cached.
The cached LayoutInflater will be replaced immediately prior to #onCreateView(LayoutInflater, ViewGroup, Bundle)
and cleared immediately after #onDetach()
.
Java documentation for android.app.Fragment.getLayoutInflater()
.
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.