共用方式為


ResourceCursorTreeAdapter.NewChildView Method

Definition

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

[Android.Runtime.Register("newChildView", "(Landroid/content/Context;Landroid/database/Cursor;ZLandroid/view/ViewGroup;)Landroid/view/View;", "GetNewChildView_Landroid_content_Context_Landroid_database_Cursor_ZLandroid_view_ViewGroup_Handler")]
public override Android.Views.View? NewChildView (Android.Content.Context? context, Android.Database.ICursor? cursor, bool isLastChild, Android.Views.ViewGroup? parent);
[<Android.Runtime.Register("newChildView", "(Landroid/content/Context;Landroid/database/Cursor;ZLandroid/view/ViewGroup;)Landroid/view/View;", "GetNewChildView_Landroid_content_Context_Landroid_database_Cursor_ZLandroid_view_ViewGroup_Handler")>]
override this.NewChildView : 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 cursor from which to get the data. The cursor is already moved to the correct position.

isLastChild
Boolean

Whether the child is the last child within its group.

parent
ViewGroup

The parent to which the new view is attached to

Returns

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