共用方式為


ViewGroup.IOnHierarchyChangeListener.OnChildViewRemoved(View, View) Method

Definition

Called when a child is removed from a parent view.

[Android.Runtime.Register("onChildViewRemoved", "(Landroid/view/View;Landroid/view/View;)V", "GetOnChildViewRemoved_Landroid_view_View_Landroid_view_View_Handler:Android.Views.ViewGroup/IOnHierarchyChangeListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void OnChildViewRemoved (Android.Views.View? parent, Android.Views.View? child);
[<Android.Runtime.Register("onChildViewRemoved", "(Landroid/view/View;Landroid/view/View;)V", "GetOnChildViewRemoved_Landroid_view_View_Landroid_view_View_Handler:Android.Views.ViewGroup/IOnHierarchyChangeListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnChildViewRemoved : Android.Views.View * Android.Views.View -> unit

Parameters

parent
View

the view from which the child was removed

child
View

the child removed from the hierarchy

Attributes

Remarks

Called when a child is removed from a parent view.

Java documentation for android.view.ViewGroup.OnHierarchyChangeListener.onChildViewRemoved(android.view.View, android.view.View).

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