AutoCompleteTextView.ConvertSelectionToStringFormatted(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.

[Android.Runtime.Register("convertSelectionToString", "(Ljava/lang/Object;)Ljava/lang/CharSequence;", "GetConvertSelectionToString_Ljava_lang_Object_Handler")]
protected virtual Java.Lang.ICharSequence? ConvertSelectionToStringFormatted (Java.Lang.Object? selectedItem);
[<Android.Runtime.Register("convertSelectionToString", "(Ljava/lang/Object;)Ljava/lang/CharSequence;", "GetConvertSelectionToString_Ljava_lang_Object_Handler")>]
abstract member ConvertSelectionToStringFormatted : Java.Lang.Object -> Java.Lang.ICharSequence
override this.ConvertSelectionToStringFormatted : Java.Lang.Object -> Java.Lang.ICharSequence

Parameters

selectedItem
Object

the item selected by the user for completion

Returns

a sequence of characters representing the selected suggestion

Attributes

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