See #49
The initial idea was to change hasError() and hasHint() methods signature and alter argument type from String to CharSequence, but since we can't be sure that CharSequence's implementation will override equals() method, the safest way to check that TextInputLayout has proper hint and error text is just to check the text equality.
See #49 The initial idea was to change
hasError()
andhasHint()
methods signature and alter argument type fromString
toCharSequence
, but since we can't be sure thatCharSequence
's implementation will overrideequals()
method, the safest way to check thatTextInputLayout
has proper hint and error text is just to check the text equality.