/ Validation

A simple and powerful field validation library for Android

A simple and powerful field validation library for Android

Convalida

Convalida - (Italian for "validation")

Convalida is a simple, lightweight and powerful field validation library for Android.

Why Convalida?

You can use with annotations or with data binding;
Compile-time;
Compatible with other popular libraries such as ButterKnife, Android Data Binding, Dagger 2, etc;
Works with Stock Android Widgets;
Based on Material Design Error Patterns;

Download

Step 1 - Add the JitPack repository to your root build.gradle file:

allprojects {
  repositories {
    maven { url 'https://jitpack.io' }
  }
}

Step 2 - Add the dependencies:

dependencies {
  implementation 'com.github.WellingtonCosta.convalida:convalida:2.1.0'
  annotationProcessor 'com.github.WellingtonCosta.convalida:convalida-compiler:2.1.0'
}

GitHub