I recently used TextInputLayout and it\'s setError() method. The problem I\'m getting is, when I clear the error by calling setError(null)
TextInputLayout
setError()
setError(null)
This is extension in kotlin solving problem:
fun TextInputLayout.clearError() { error = null isErrorEnabled = false }