Udostępnij za pośrednictwem


AutoCompleteTextView.ConvertSelectionToString(Object) Method

Definition

Converts the selected item from the drop down list into a sequence of character that can be used in the edit box.

protected string? ConvertSelectionToString (Java.Lang.Object? selectedItem);
member this.ConvertSelectionToString : Java.Lang.Object -> string

Parameters

selectedItem
Object

the item selected by the user for completion

Returns

a sequence of characters representing the selected suggestion

Remarks

Converts the selected item from the drop down list into a sequence of character that can be used in the edit box.

Java documentation for android.widget.AutoCompleteTextView.convertSelectionToString(java.lang.Object).

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