次の方法で共有


ResourceCursorAdapter.NewView(Context, ICursor, ViewGroup) Method

Definition

Inflates view(s) from the specified XML file.

[Android.Runtime.Register("newView", "(Landroid/content/Context;Landroid/database/Cursor;Landroid/view/ViewGroup;)Landroid/view/View;", "GetNewView_Landroid_content_Context_Landroid_database_Cursor_Landroid_view_ViewGroup_Handler")]
public override Android.Views.View? NewView (Android.Content.Context? context, Android.Database.ICursor? cursor, Android.Views.ViewGroup? parent);
[<Android.Runtime.Register("newView", "(Landroid/content/Context;Landroid/database/Cursor;Landroid/view/ViewGroup;)Landroid/view/View;", "GetNewView_Landroid_content_Context_Landroid_database_Cursor_Landroid_view_ViewGroup_Handler")>]
override this.NewView : Android.Content.Context * Android.Database.ICursor * 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.

parent
ViewGroup

The parent to which the new view is attached to

Returns

Attributes

Remarks

Inflates view(s) from the specified XML file.

Java documentation for android.widget.ResourceCursorAdapter.newView(android.content.Context, android.database.Cursor, 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

See also

  • <xref:Android.Widget.CursorAdapter.NewView(Android.Content.Context%2c+Android.Database.ICursor%2c+Android.Database.ICursor)>