語言

CursorAdapter.NewView(Context, ICursor, ViewGroup) 方法

定義

建立一個新的視角來保存游標指向的資料。

[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 abstract 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")>]
abstract member NewView : Android.Content.Context * Android.Database.ICursor * Android.Views.ViewGroup -> Android.Views.View

參數

context
Context

介面至應用程式的全域資訊

cursor
ICursor

用來取得資料的游標。 游標已經移動到正確位置。

parent
ViewGroup

新視圖所附加的父節點

傳回

新創造的景觀。

屬性

備註

建立一個新的視角來保存游標指向的資料。

Java 文件 android.widget.CursorAdapter.newView(android.content.Context, android.database.Cursor, android.view.ViewGroup)

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於