You should create one TextWatcher
per EditText
, rather than having your Activity implement TextWatcher, in the same way you handled the OnClickListener.
As an aside, you should generally set your TextWatchers
in onResume()
(or at least, after onRestoreInstanceState()
). Otherwise your TextWatcher
might fire when the EditText
restores the text that was previously entered (in the case that the user changes the device configuration, such as rotating the phone).