- @Override\r
- public void afterTextChanged(Editable s) {\r
- }\r
-\r
- @Override\r
- public void beforeTextChanged(CharSequence s, int start, int count, int after) {\r
- }\r
-\r
- @Override\r
- public void onTextChanged(CharSequence s, int start, int before, int count) {\r
- if (mServerCheckedAndValid) {\r
- mServerCheckedAndValid = false;\r
- mOkButton.setEnabled(false); // avoids that the 'connect' button can be clicked if the test was previously passed\r
- }\r
- }\r
- \r
- }\r