語言

ExpandableListView.SetAdapter(IExpandableListAdapter) 方法

定義

將提供資料的轉接器設定為此視圖。

[Android.Runtime.Register("setAdapter", "(Landroid/widget/ExpandableListAdapter;)V", "GetSetAdapter_Landroid_widget_ExpandableListAdapter_Handler")]
public virtual void SetAdapter(Android.Widget.IExpandableListAdapter? adapter);
[<Android.Runtime.Register("setAdapter", "(Landroid/widget/ExpandableListAdapter;)V", "GetSetAdapter_Landroid_widget_ExpandableListAdapter_Handler")>]
override this.SetAdapter : Android.Widget.IExpandableListAdapter -> unit

參數

adapter
IExpandableListAdapter

提供此視圖資料的轉接器。

屬性

備註

將提供資料的轉接器設定為此視圖。

Java 文件 android.widget.ExpandableListView.setAdapter(android.widget.ExpandableListAdapter)。

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

適用於