IT. Expert System.

Android Reference

AutoCompleteTextView.Validator


android.widget

Interface AutoCompleteTextView.Validator

  • Enclosing class:
    AutoCompleteTextView


    public static interface AutoCompleteTextView.Validator
    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.
    • Method Detail

      • isValid

        boolean isValid(CharSequence text)
        Validates the specified text.
        Returns:
        true If the text currently in the text editor is valid.
        See Also:
        fixText(CharSequence)
      • fixText

        CharSequence fixText(CharSequence invalidText)
        Corrects the specified text to make it valid.
        Parameters:
        invalidText - 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.
        See Also:
        isValid(CharSequence)


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 108 / 158851017. Delta: 0.04514 с