showErrorText

fun showErrorText(errorText: String? = null, isErrorTextVisible: Boolean = true)

Shows an error in the header,and widgets could either use this or use another view (i.e. TextInputLayout's error field) to display error.