I want to set error message below the textinput layout in databinding using MVVM in kotlin
will i was doing i encounter an error : it shows null if the email edit text is empty , it should not do that
You can follow this link: Can i bind an error message to a TextInputLayout?
In the second answer, you will see StringRule. By using that hopefully your problem will be fixed.
2.1m questions
2.1m answers
60 comments
57.0k users