Share via


ListFragment.ListAdapter Property

Definition

Get the ListAdapter associated with this fragment's ListView. -or- Provide the cursor for the list view.

public virtual Android.Widget.IListAdapter? ListAdapter { [Android.Runtime.Register("getListAdapter", "()Landroid/widget/ListAdapter;", "GetGetListAdapterHandler")] get; [Android.Runtime.Register("setListAdapter", "(Landroid/widget/ListAdapter;)V", "GetSetListAdapter_Landroid_widget_ListAdapter_Handler")] set; }
[<get: Android.Runtime.Register("getListAdapter", "()Landroid/widget/ListAdapter;", "GetGetListAdapterHandler")>]
[<set: Android.Runtime.Register("setListAdapter", "(Landroid/widget/ListAdapter;)V", "GetSetListAdapter_Landroid_widget_ListAdapter_Handler")>]
member this.ListAdapter : Android.Widget.IListAdapter with get, set

Property Value

Attributes

Remarks

Property getter documentation:

Get the ListAdapter associated with this fragment's ListView.

Java documentation for android.app.ListFragment.getListAdapter().

Property setter documentation:

Provide the cursor for the list view.

Java documentation for android.app.ListFragment.setListAdapter(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