Advertisement
Guest User

Untitled

a guest
Oct 1st, 2014
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. myEditText.addTextChangedListener(new TextWatcher() {
  2. @Override
  3. public void onTextChanged(CharSequence s, int start, int before, int count) {
  4. //check count and do something
  5. }
  6.  
  7. @Override
  8. public void afterTextChanged(Editable arg0) {
  9. }
  10.  
  11. @Override
  12. public void beforeTextChanged(CharSequence s, int start, int count, int after) {
  13.  
  14. }
  15. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement