共用方式為


WebView.OnChildViewAdded(View, View) Method

Definition

Caution

deprecated

This member is deprecated.

[Android.Runtime.Register("onChildViewAdded", "(Landroid/view/View;Landroid/view/View;)V", "GetOnChildViewAdded_Landroid_view_View_Landroid_view_View_Handler")]
[System.Obsolete("deprecated")]
public virtual void OnChildViewAdded (Android.Views.View? parent, Android.Views.View? child);
[<Android.Runtime.Register("onChildViewAdded", "(Landroid/view/View;Landroid/view/View;)V", "GetOnChildViewAdded_Landroid_view_View_Landroid_view_View_Handler")>]
[<System.Obsolete("deprecated")>]
abstract member OnChildViewAdded : Android.Views.View * Android.Views.View -> unit
override this.OnChildViewAdded : Android.Views.View * Android.Views.View -> unit

Parameters

parent
View

the view in which a child was added

child
View

the new child view added in the hierarchy

Implements

Attributes

Remarks

This member is deprecated. WebView no longer needs to implement ViewGroup.OnHierarchyChangeListener. This method does nothing now.

Java documentation for android.webkit.WebView.onChildViewAdded(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