共用方式為


CursorTreeAdapter.NewChildView(Context, ICursor, Boolean, ViewGroup) 方法

定義

建立新的子檢視,以保存數據指標所指向的數據。

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

參數

context
Context

應用程式全域信息的介面

cursor
ICursor

要從中取得數據的數據指標。 游標已移至正確的位置。

isLastChild
Boolean

子系是否為其群組中的最後一個子系。

parent
ViewGroup

新檢視附加至的父系

傳回

新建立的檢視。

屬性

備註

建立新的子檢視,以保存數據指標所指向的數據。

android.widget.CursorTreeAdapter.newChildView(android.content.Context, android.database.Cursor, boolean, android.view.ViewGroup)Java 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於