Android Multiple Edittext Can't Implement Listener
hi I'm having a few problems understanding how to control my listeners in bulk. I've managed to get a few working from Stack Overflow but EditText is driving me nutts. I have 3 edi
Solution 1:
Why not make a TextWatcher outside of the assigning method addTextChangedListener() and then assign that TextWatcher to multiple EditText objects.
For instance:
TextWatchertw=newTextWatcher();
intTextValue.addTextChangedListener(tw);
otherEditText.addTextChangedListener(tw);
...
Post a Comment for "Android Multiple Edittext Can't Implement Listener"