共用方式為


View.OnProvideStructure(ViewStructure) Method

Definition

Called when assist structure is being retrieved from a view as part of android.app.Activity#onProvideAssistData Activity.onProvideAssistData.

[Android.Runtime.Register("onProvideStructure", "(Landroid/view/ViewStructure;)V", "GetOnProvideStructure_Landroid_view_ViewStructure_Handler", ApiSince=23)]
public virtual void OnProvideStructure (Android.Views.ViewStructure? structure);
[<Android.Runtime.Register("onProvideStructure", "(Landroid/view/ViewStructure;)V", "GetOnProvideStructure_Landroid_view_ViewStructure_Handler", ApiSince=23)>]
abstract member OnProvideStructure : Android.Views.ViewStructure -> unit
override this.OnProvideStructure : Android.Views.ViewStructure -> unit

Parameters

structure
ViewStructure

Fill in with structured view data. The default implementation fills in all data that can be inferred from the view itself.

Attributes

Remarks

Called when assist structure is being retrieved from a view as part of android.app.Activity#onProvideAssistData Activity.onProvideAssistData.

Java documentation for android.view.View.onProvideStructure(android.view.ViewStructure).

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