Android.App.ListFragment Members

The members of Android.App.ListFragment are listed below.

See Also: Inherited members from Android.App.Fragment

Public Constructors

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Properties

ListAdapterAndroid.Widget.IListAdapter. Get the ListAdapter associated with this activity's ListView.
[read-only]
ListViewAndroid.Widget.ListView. Get the activity's list view widget.
[read-only]
SelectedItemIdlong. Get the cursor row ID of the currently selected list item.
[read-only]
SelectedItemPositionint. Get the position of the currently selected list item.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

OnListItemClick(Android.Widget.ListView, Android.Views.View, int, long)
This method will be called when an item in the list is selected.
SetEmptyText(Java.Lang.ICharSequence)
The default content for a ListFragment has a TextView that can be shown when the list is empty.
SetEmptyText(string)
Documentation for this section has not yet been entered.
SetListShown(bool)
Control whether the list is being displayed.
SetListShownNoAnimation(bool)
Like ListFragment.SetListShown(bool), but no animation is used when transitioning from the previous state.
SetSelection(int)
Set the currently selected list item to the specified position with the adapter's data