Share via


GridView.Adapter Property

Definition

Sets the data behind this GridView.

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

Attributes

Remarks

Sets the data behind this GridView.

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