Fragment.OnInflate Fragment.OnInflate Method

Definition

Overloads

OnInflate(IAttributeSet, Bundle) OnInflate(IAttributeSet, Bundle)
OnInflate(Activity, IAttributeSet, Bundle) OnInflate(Activity, IAttributeSet, Bundle)
OnInflate(Context, IAttributeSet, Bundle) OnInflate(Context, IAttributeSet, Bundle)

OnInflate(IAttributeSet, Bundle) OnInflate(IAttributeSet, Bundle)

Warning

This API is now obsolete.

[Android.Runtime.Register("onInflate", "(Landroid/util/AttributeSet;Landroid/os/Bundle;)V", "GetOnInflate_Landroid_util_AttributeSet_Landroid_os_Bundle_Handler")]
[System.Obsolete("deprecated")]
public virtual void OnInflate (Android.Util.IAttributeSet attrs, Android.OS.Bundle savedInstanceState);
abstract member OnInflate : Android.Util.IAttributeSet * Android.OS.Bundle -> unit
override this.OnInflate : Android.Util.IAttributeSet * Android.OS.Bundle -> unit

Parameters

savedInstanceState
Bundle Bundle

Remarks

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.

OnInflate(Activity, IAttributeSet, Bundle) OnInflate(Activity, IAttributeSet, Bundle)

Warning

This API is now obsolete.

[Android.Runtime.Register("onInflate", "(Landroid/app/Activity;Landroid/util/AttributeSet;Landroid/os/Bundle;)V", "GetOnInflate_Landroid_app_Activity_Landroid_util_AttributeSet_Landroid_os_Bundle_Handler", ApiSince=12)]
[System.Obsolete("deprecated")]
public virtual void OnInflate (Android.App.Activity activity, Android.Util.IAttributeSet attrs, Android.OS.Bundle savedInstanceState);
abstract member OnInflate : Android.App.Activity * Android.Util.IAttributeSet * Android.OS.Bundle -> unit
override this.OnInflate : Android.App.Activity * Android.Util.IAttributeSet * Android.OS.Bundle -> unit

Parameters

activity
Activity Activity

The Activity that is inflating this fragment.

attrs
IAttributeSet IAttributeSet

The attributes at the tag where the fragment is being created.

savedInstanceState
Bundle Bundle

If the fragment is being re-created from a previous saved state, this is the state.

Remarks

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.

OnInflate(Context, IAttributeSet, Bundle) OnInflate(Context, IAttributeSet, Bundle)

[Android.Runtime.Register("onInflate", "(Landroid/content/Context;Landroid/util/AttributeSet;Landroid/os/Bundle;)V", "GetOnInflate_Landroid_content_Context_Landroid_util_AttributeSet_Landroid_os_Bundle_Handler", ApiSince=23)]
public virtual void OnInflate (Android.Content.Context context, Android.Util.IAttributeSet attrs, Android.OS.Bundle savedInstanceState);
abstract member OnInflate : Android.Content.Context * Android.Util.IAttributeSet * Android.OS.Bundle -> unit
override this.OnInflate : Android.Content.Context * Android.Util.IAttributeSet * Android.OS.Bundle -> unit

Parameters

context
Context Context
savedInstanceState
Bundle Bundle

Remarks

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