How it works?

Now let’s see what EasyValidation can do for us. First, you have to include it in your android projects using Gradle like this:

Now for example, you can validate any email string like this:

Not only String or Text , you can perform these checks on EditText , TextView , AutoCompleteTextView , TextInputLayout , and Spinner like this:

There are around 30+ built-in rules in the core module library such as email, empty, number, credit card number etc. You can check all these in Rules page.

You can also apply multiple checks to make complex input very easily. For example, you want user’s password to have at least 8 characters length with one special character, one uppercase letter and one number. Then you can do these types of checks like this: