Share via


CursorTreeAdapter.NewGroupView(Context, ICursor, Boolean, ViewGroup) Method

Definition

Makes a new group view to hold the group data pointed to by cursor.

[Android.Runtime.Register("newGroupView", "(Landroid/content/Context;Landroid/database/Cursor;ZLandroid/view/ViewGroup;)Landroid/view/View;", "GetNewGroupView_Landroid_content_Context_Landroid_database_Cursor_ZLandroid_view_ViewGroup_Handler")]
public abstract Android.Views.View? NewGroupView (Android.Content.Context? context, Android.Database.ICursor? cursor, bool isExpanded, Android.Views.ViewGroup? parent);
[<Android.Runtime.Register("newGroupView", "(Landroid/content/Context;Landroid/database/Cursor;ZLandroid/view/ViewGroup;)Landroid/view/View;", "GetNewGroupView_Landroid_content_Context_Landroid_database_Cursor_ZLandroid_view_ViewGroup_Handler")>]
abstract member NewGroupView : Android.Content.Context * Android.Database.ICursor * bool * Android.Views.ViewGroup -> Android.Views.View

Parameters

context
Context

Interface to application's global information

cursor
ICursor

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

isExpanded
Boolean

Whether the group is expanded.

parent
ViewGroup

The parent to which the new view is attached to

Returns

The newly created view.

Attributes

Remarks

Makes a new group view to hold the group data pointed to by cursor.

Java documentation for android.widget.CursorTreeAdapter.newGroupView(android.content.Context, android.database.Cursor, boolean, android.view.ViewGroup).

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