AndroidValidator

Additional

Language
Kotlin
Version
1.0.6 (Feb 21, 2018)
Created
Feb 15, 2018
Updated
Feb 21, 2018
Owner
gregor9494
Contributor
gregor9494
1
Activity
Badge
Generate
Download
Source code
APK file

Announcement

AndroidValidator

Model based validation library for Android written in kotlin

Kotlin sample usage: (Column info is not part of validator it is from Room library)

Validation:

Model in java:

All validated fields have to have standard getters

Import:

Add it in your root build.gradle at the end of repositories:

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

Add the dependency

  dependencies {
            ...
            compile 'com.github.gregor9494:AndroidValidator:1.0.6'
    }

If you fell gratefull for my work you can buy me a cup of coffee

PayPal.Me/GregorAndroidDevelop