Android.Widget.AlphabetIndexer: Method Members

The methods of Android.Widget.AlphabetIndexer are listed below. For a list of all members, see the AlphabetIndexer Members list.

See Also: Inherited members from Android.Database.DataSetObserver

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.