ListPopupWindow.SetAdapter(IListAdapter) Method

Definition

Sets the adapter that provides the data and the views to represent the data in this popup window.

[Android.Runtime.Register("setAdapter", "(Landroid/widget/ListAdapter;)V", "GetSetAdapter_Landroid_widget_ListAdapter_Handler")]
public virtual void SetAdapter (Android.Widget.IListAdapter? adapter);
[<Android.Runtime.Register("setAdapter", "(Landroid/widget/ListAdapter;)V", "GetSetAdapter_Landroid_widget_ListAdapter_Handler")>]
abstract member SetAdapter : Android.Widget.IListAdapter -> unit
override this.SetAdapter : Android.Widget.IListAdapter -> unit

Parameters

adapter
IListAdapter

The adapter to use to create this window's content.

Attributes

Remarks

Sets the adapter that provides the data and the views to represent the data in this popup window.

Java documentation for android.widget.ListPopupWindow.setAdapter(android.widget.ListAdapter).

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