Android.App.Fragment.OnDestroyView Method
Called when the view previously created by Fragment.OnCreateView(Android.Views.LayoutInflater, Android.Views.ViewGroup, Android.Views.ViewGroup) has been detached from the fragment.

Syntax

[Android.Runtime.Register("onDestroyView", "()V", "GetOnDestroyViewHandler")]
public virtual void OnDestroyView ()

Remarks

Called when the view previously created by Fragment.OnCreateView(Android.Views.LayoutInflater, Android.Views.ViewGroup, Android.Views.ViewGroup) has been detached from the fragment. The next time the fragment needs to be displayed, a new view will be created. This is called after Fragment.OnStop and before Fragment.OnDestroy. It is called regardless of whether Fragment.OnCreateView(Android.Views.LayoutInflater, Android.Views.ViewGroup, Android.Views.ViewGroup) returned a non-null view. Internally it is called after the view's state has been saved but before it has been removed from its parent.

[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