ListView.Adapter Property

Definition

Returns the adapter currently in use in this ListView. -or- Sets the data behind this ListView.

public override Android.Widget.IListAdapter? Adapter { [Android.Runtime.Register("getAdapter", "()Landroid/widget/ListAdapter;", "GetGetAdapterHandler")] get; [Android.Runtime.Register("setAdapter", "(Landroid/widget/ListAdapter;)V", "GetSetAdapter_Landroid_widget_ListAdapter_Handler")] set; }
[<get: Android.Runtime.Register("getAdapter", "()Landroid/widget/ListAdapter;", "GetGetAdapterHandler")>]
[<set: Android.Runtime.Register("setAdapter", "(Landroid/widget/ListAdapter;)V", "GetSetAdapter_Landroid_widget_ListAdapter_Handler")>]
member this.Adapter : Android.Widget.IListAdapter with get, set

Property Value

IListAdapter

The adapter currently used to display data in this ListView.

Attributes

Remarks

Property getter documentation:

Java documentation for android.widget.ListView.getAdapter().

Property setter documentation:

Java documentation for android.widget.ListView.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

See also