dependencies {
implementation 'com.github.AkbaraliKhasanov:Validator:1.0.2'
}
maven { url "https://jitpack.io" }
if (!MyValidator.isValidEmail(binding.inputEmail.text.toString())) {
binding.inputEmail.error = "Invalid email address"
}