共用方式為


SimpleCursorTreeAdapter.BindGroupView(View, Context, ICursor, Boolean) Method

Definition

Bind an existing view to the group data pointed to by cursor.

[Android.Runtime.Register("bindGroupView", "(Landroid/view/View;Landroid/content/Context;Landroid/database/Cursor;Z)V", "GetBindGroupView_Landroid_view_View_Landroid_content_Context_Landroid_database_Cursor_ZHandler")]
protected override void BindGroupView (Android.Views.View? view, Android.Content.Context? context, Android.Database.ICursor? cursor, bool isExpanded);
[<Android.Runtime.Register("bindGroupView", "(Landroid/view/View;Landroid/content/Context;Landroid/database/Cursor;Z)V", "GetBindGroupView_Landroid_view_View_Landroid_content_Context_Landroid_database_Cursor_ZHandler")>]
override this.BindGroupView : Android.Views.View * Android.Content.Context * Android.Database.ICursor * bool -> unit

Parameters

view
View

Existing view, returned earlier by newGroupView.

context
Context

Interface to application's global information

cursor
ICursor

The cursor from which to get the data. The cursor is already moved to the correct position.

isExpanded
Boolean

Whether the group is expanded.

Attributes

Remarks

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