Android.App.Fragment.OnAttach Method
Called when a fragment is first attached to its activity.

Syntax

[Android.Runtime.Register("onAttach", "(Landroid/app/Activity;)V", "GetOnAttach_Landroid_app_Activity_Handler")]
public virtual void OnAttach (Activity activity)

Parameters

activity
Documentation for this section has not yet been entered.

Remarks

Called when a fragment is first attached to its activity. Fragment.OnCreate(Android.OS.Bundle) will be called after this.

[Android Documentation]

Requirements

Namespace: Android.App
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 11