ListPopupWindow.SetAdapter(IListAdapter) Method

Definition

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

C#
[Android.Runtime.Register("setAdapter", "(Landroid/widget/ListAdapter;)V", "GetSetAdapter_Landroid_widget_ListAdapter_Handler")]
public virtual void SetAdapter (Android.Widget.IListAdapter? adapter);

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

Produkt Wersje
.NET for Android .NET for Android API 34, .NET for Android API 35