Freigeben über


AutoCompleteTextView.IValidator.FixTextFormatted(ICharSequence) Method

Definition

Corrects the specified text to make it valid.

[Android.Runtime.Register("fixText", "(Ljava/lang/CharSequence;)Ljava/lang/CharSequence;", "GetFixText_Ljava_lang_CharSequence_Handler:Android.Widget.AutoCompleteTextView/IValidatorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Java.Lang.ICharSequence? FixTextFormatted (Java.Lang.ICharSequence? invalidText);
[<Android.Runtime.Register("fixText", "(Ljava/lang/CharSequence;)Ljava/lang/CharSequence;", "GetFixText_Ljava_lang_CharSequence_Handler:Android.Widget.AutoCompleteTextView/IValidatorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member FixTextFormatted : Java.Lang.ICharSequence -> Java.Lang.ICharSequence

Parameters

invalidText
ICharSequence

A string that doesn't pass validation: isValid(invalidText) returns false

Returns

A string based on invalidText such as invoking isValid() on it returns true.

Attributes

Remarks

Corrects the specified text to make it valid.

Java documentation for android.widget.AutoCompleteTextView.Validator.fixText(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

See also