public class EPValidationCondition
Define a validation condition
Modifier and Type | Class and Description |
---|---|
static class |
EPValidationCondition.AsyncCheck
This can be used to perform custom check in a asynchronous manner.
You must perform the check and provide a completion.
If the validation succeed you will return a "null" errorMessage message,
else you will provide a dedicated errorMessage
|
static class |
EPValidationCondition.IsANumber
Check that the text is a number
|
static class |
EPValidationCondition.IsEmail
Check that the text is an email
|
static class |
EPValidationCondition.IsNotEmpty
Check that the text is not empty
|
static class |
EPValidationCondition.IsPhone
Check that the text is a valid international number
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
isValid(android.content.Context context,
java.lang.String value,
kotlin.coroutines.experimental.Continuation<? super java.lang.String> p) |