@BindingMethods(value = [
BindingMethod(
type = TextInputLayout::class,
attribute = "app:errorText",
method = "setErrorText")])
object TextInputLayoutBindingAdapter {
@JvmStatic
@BindingAdapter("app:errorText")
fun setErrorText(view: TextInputLayout, errorText: String?) {
view.error = errorText
}
}