共用方式為


AlphabetIndexer Constructors

Definition

Overloads

AlphabetIndexer(IntPtr, JniHandleOwnership)

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

AlphabetIndexer(ICursor, Int32, ICharSequence)

Constructs the indexer.

AlphabetIndexer(ICursor, Int32, String)

Constructs the indexer.

AlphabetIndexer(IntPtr, JniHandleOwnership)

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

protected AlphabetIndexer (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Widget.AlphabetIndexer : nativeint * Android.Runtime.JniHandleOwnership -> Android.Widget.AlphabetIndexer

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

Remarks

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

AlphabetIndexer(ICursor, Int32, ICharSequence)

Constructs the indexer.

[Android.Runtime.Register(".ctor", "(Landroid/database/Cursor;ILjava/lang/CharSequence;)V", "")]
public AlphabetIndexer (Android.Database.ICursor? cursor, int sortedColumnIndex, Java.Lang.ICharSequence? alphabet);
[<Android.Runtime.Register(".ctor", "(Landroid/database/Cursor;ILjava/lang/CharSequence;)V", "")>]
new Android.Widget.AlphabetIndexer : Android.Database.ICursor * int * Java.Lang.ICharSequence -> Android.Widget.AlphabetIndexer

Parameters

cursor
ICursor

the cursor containing the data set

sortedColumnIndex
Int32

the column number in the cursor that is sorted alphabetically

alphabet
ICharSequence

string containing the alphabet, with space as the first character. For example, use the string " ABCDEFGHIJKLMNOPQRSTUVWXYZ" for English indexing. The characters must be uppercase and be sorted in ascii/unicode order. Basically characters in the alphabet will show up as preview letters.

Attributes

Remarks

Constructs the indexer.

Java documentation for android.widget.AlphabetIndexer.AlphabetIndexer(android.database.Cursor, int, java.lang.CharSequence).

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

AlphabetIndexer(ICursor, Int32, String)

Constructs the indexer.

[Android.Runtime.Register(".ctor", "(Landroid/database/Cursor;ILjava/lang/CharSequence;)V", "")]
public AlphabetIndexer (Android.Database.ICursor? cursor, int sortedColumnIndex, string? alphabet);
[<Android.Runtime.Register(".ctor", "(Landroid/database/Cursor;ILjava/lang/CharSequence;)V", "")>]
new Android.Widget.AlphabetIndexer : Android.Database.ICursor * int * string -> Android.Widget.AlphabetIndexer

Parameters

cursor
ICursor
sortedColumnIndex
Int32
alphabet
String
Attributes

Remarks

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