Android Guides | Samples

Android.Widget.AutoCompleteTextView.IValidator

This interface is used to make sure that the text entered in this TextView complies to a certain format.

See Also: AutoCompleteTextView+IValidator

Syntax

[Android.Runtime.Register("android/widget/AutoCompleteTextView$Validator", "", "Android.Widget.AutoCompleteTextView/IValidatorInvoker")]
public interface AutoCompleteTextView.IValidator : IJavaObject, IDisposable

Remarks

This interface is used to make sure that the text entered in this TextView complies to a certain format. Since there is no foolproof way to prevent the user from leaving this View with an incorrect value in it, all we can do is try to fix it ourselves when this happens.

[Android Documentation]

Requirements

Namespace: Android.Widget
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1

The members of Android.Widget.AutoCompleteTextView.IValidator are listed below.

Public Methods

FixTextFormatted(ICharSequence) : ICharSequence
Corrects the specified text to make it valid.
IsValid(ICharSequence) : Boolean
Validates the specified text.