set Error
Sets an error message that will be displayed below our EditText. If the error
is null
, the error message will be cleared.
If the error functionality has not been enabled via setErrorEnabled, then it will be automatically enabled if error
is not empty.
Parameters
error Text
Error message to display, or null to clear