public class ErrorTextWatcher
extends java.lang.Object
implements android.text.TextWatcher
| Modifier and Type | Field and Description |
|---|---|
protected TextInputLayout |
mTextInputLayout |
protected android.widget.EditText |
mTextView |
| Constructor and Description |
|---|
ErrorTextWatcher(android.widget.EditText textView) |
ErrorTextWatcher(TextInputLayout textInputLayout) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterTextChanged(android.text.Editable s) |
void |
beforeTextChanged(java.lang.CharSequence s,
int start,
int count,
int after) |
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
void |
onTextChanged(java.lang.CharSequence s,
int start,
int before,
int count) |
protected android.widget.EditText mTextView
protected TextInputLayout mTextInputLayout
public ErrorTextWatcher(android.widget.EditText textView)
public ErrorTextWatcher(TextInputLayout textInputLayout)
public void beforeTextChanged(java.lang.CharSequence s,
int start,
int count,
int after)
beforeTextChanged in interface android.text.TextWatcherpublic void onTextChanged(java.lang.CharSequence s,
int start,
int before,
int count)
onTextChanged in interface android.text.TextWatcherpublic void afterTextChanged(android.text.Editable s)
afterTextChanged in interface android.text.TextWatcherpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object