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
- Host: GitHub
- URL: https://github.com/professordeveloper/edittext-input-validator-library
- Owner: professorDeveloper
- License: mit
- Created: 2023-02-27T14:46:23.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-02-27T15:28:08.000Z (over 2 years ago)
- Last Synced: 2025-01-15T11:11:33.221Z (5 months ago)
- Topics: autovalidation, edittext-input, email, input-validator, phone, year
- Language: Kotlin
- Homepage:
- Size: 1.62 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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** |