Package com. devbase. presentation. validation. util

Defines validation calling and rule implementation

Types

Link copied to clipboard
object CommonRegex

Functions

Link copied to clipboard
fun alphaOnlyRule(errorMessage: String): RegexRule
Link copied to clipboard
fun checkedRule(errorMessage: String): CheckedRule
Link copied to clipboard
fun CheckBox.checkListener(action: () -> Unit)
Link copied to clipboard
fun emailRule(errorMessage: String): RegexRule
Link copied to clipboard
fun Spinner.itemListener(action: () -> Unit)
Link copied to clipboard
fun minxMaxLengthRule(    minLength: Int,     maxLength: Int,     errorMessage: String): RegexRule
Link copied to clipboard
fun notEmptyRule(errorMessage: String): RegexRule
Link copied to clipboard
fun numberOnlyRule(errorMessage: String): RegexRule
Link copied to clipboard
fun password6CharactersRule(errorMessage: String): RegexRule
Link copied to clipboard
fun password8CharactersRule(errorMessage: String): RegexRule
Link copied to clipboard
fun RadioGroup.radioListener(action: () -> Unit)
Link copied to clipboard
fun sameValueRule(comparison: () -> String, errorMessage: String): SameValueRule

Properties

Link copied to clipboard
val error: Exception