public class InputTextWatcher
extends java.lang.Object
implements android.text.TextWatcher
| Modifier and Type | Field and Description |
|---|---|
private android.widget.EditText |
input
The EditText member
|
private java.lang.String |
type
The Edit Text type we are adjusting
|
| Constructor and Description |
|---|
InputTextWatcher(android.widget.EditText input,
java.lang.String type)
Constructor that takes the current EditText and its type to be watched
|
| Modifier and Type | Method and Description |
|---|---|
void |
afterTextChanged(android.text.Editable editable)
After the user is done editing the text, the value inside each respective edit text is then
used to adjust the respective Parameter
|
void |
beforeTextChanged(java.lang.CharSequence charSequence,
int i,
int i1,
int i2)
Not used
|
void |
onTextChanged(java.lang.CharSequence charSequence,
int i,
int i1,
int i2)
Not used
|
private android.widget.EditText input
private java.lang.String type
public InputTextWatcher(android.widget.EditText input,
java.lang.String type)
input - - this Edit Text Fieldtype - - current typepublic void beforeTextChanged(java.lang.CharSequence charSequence,
int i,
int i1,
int i2)
beforeTextChanged in interface android.text.TextWatchercharSequence - i - i1 - i2 - public void onTextChanged(java.lang.CharSequence charSequence,
int i,
int i1,
int i2)
onTextChanged in interface android.text.TextWatchercharSequence - i - i1 - i2 - public void afterTextChanged(android.text.Editable editable)
afterTextChanged in interface android.text.TextWatchereditable - - not used