Condividi tramite


Fragment.OnGetLayoutInflater(Bundle) Method

Definition

Returns the LayoutInflater used to inflate Views of this Fragment.

[Android.Runtime.Register("onGetLayoutInflater", "(Landroid/os/Bundle;)Landroid/view/LayoutInflater;", "GetOnGetLayoutInflater_Landroid_os_Bundle_Handler", ApiSince=26)]
public virtual Android.Views.LayoutInflater? OnGetLayoutInflater (Android.OS.Bundle? savedInstanceState);
[<Android.Runtime.Register("onGetLayoutInflater", "(Landroid/os/Bundle;)Landroid/view/LayoutInflater;", "GetOnGetLayoutInflater_Landroid_os_Bundle_Handler", ApiSince=26)>]
abstract member OnGetLayoutInflater : Android.OS.Bundle -> Android.Views.LayoutInflater
override this.OnGetLayoutInflater : Android.OS.Bundle -> Android.Views.LayoutInflater

Parameters

savedInstanceState
Bundle

Returns

The LayoutInflater used to inflate Views of this Fragment.

Attributes

Remarks

Returns the LayoutInflater used to inflate Views of this Fragment. The default implementation will throw an exception if the Fragment is not attached.

Java documentation for android.app.Fragment.onGetLayoutInflater(android.os.Bundle).

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