"the Type Main Must Implement The Inherited Abstract Method Textwatcher.beforetextchanged(charsequence,int,int,int)
I'm trying to add a TextWatcher editbox.afterTextChanged listenering to my 'Main' activity where I have already used an onFocusListener. I receive this error message on the line wh
Solution 1:
You implement all three methods in TextWatcher.
publicvoidafterTextChanged(Editable s){ ... }
publicvoidbeforeTextChanged(CharSequence s, int start, int count, int after){ ... }
publicvoidonTextChanged(CharSequence s, int start, int before, int count){ ... }
You only implemented the first one.
Post a Comment for ""the Type Main Must Implement The Inherited Abstract Method Textwatcher.beforetextchanged(charsequence,int,int,int)"