An open API service indexing awesome lists of open source software.

https://github.com/professordeveloper/edittext-input-validator-library


https://github.com/professordeveloper/edittext-input-validator-library

autovalidation edittext-input email input-validator phone year

Last synced: 4 months ago
JSON representation

Awesome Lists containing this project

README

        

# Edittext-Input-Validator-Library

## Overview
Provides a custom component of Edittext, that facility create forms, and its validations, as require a little lines of code for use

## Changelog

## Requirements

* Project migrated or implemented *AndroidX components*

## Install

Gradle dependency:
```Groovy
implementation 'com.github.professorDeveloper:Edittext-Input-Validator-Library:1.0.0'
```

Maven dependency:
```XML

com.github.professorDeveloper
Edittext-Input-Validator-Library
1.0.0

```
## Proguard
it isn't necesary exclude something

## Usage

The next section explains how to use this, if you are need to see running this feel free of download the repo and run the sample

##### In XML:

You can use Edittext alone or inside in TextInputLayout

In this example you can see a Edittext of email field, with autovalidate enabled and automatic show errors in realtime

```XML


```

if you want to validate a specific pattern can do something like this:

```XML

```

The next table contains all information about of custom attributes with their description

| name | type | description |
|---|---|---|
| app:format | reference | This feature configure the types that are supported. The types are: **email, password, phone, zipcode, text, number, cellphone, date, personName, numberCurrency, curp, numberCurrencyRounded** |