CursorTreeAdapter.NewGroupView(Context, ICursor, Boolean, ViewGroup) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立一個新的群組視圖,以保存游標指向的群組資料。
[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
參數
- context
- Context
介面至應用程式的全域資訊
- cursor
- ICursor
用來取得資料的群組游標。 游標已經移動到正確位置。
- isExpanded
- Boolean
是否該群體被擴展。
- parent
- ViewGroup
新視圖所附加的父節點
傳回
新創造的景色。
- 屬性
備註
建立一個新的群組視圖,以保存游標指向的群組資料。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。