Android.Widget.AlphabetIndexer Members

The members of Android.Widget.AlphabetIndexer are listed below.

See Also: Inherited members from Android.Database.DataSetObserver

Public Constructors

Protected Constructors

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

Protected Properties

MAlphabetJava.Lang.ICharSequence. The string of characters that make up the indexing sections.
MColumnIndexint. The index of the cursor column that this list is sorted on.
MDataCursorAndroid.Database.ICursor. Cursor that is used by the adapter of the list view.
[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

GetPositionForSection(int) : int
Performs a binary search or cache lookup to find the first row that matches a given section's starting letter.
GetSectionForPosition(int) : int
Returns the section index for a given position in the list by querying the item and comparing it with all items in the section array.
GetSections() : Java.Lang.Object[]
Returns the section array constructed from the alphabet provided in the constructor.
SetCursor(Android.Database.ICursor)
Sets a new cursor as the data set and resets the cache of indices.

Protected Methods

Compare(string, string) : int
Default implementation compares the first character of word with letter.