After I switch the sequence of 2 lines, it is working.

mEditText = (EditText)findViewById(R.id.text_edit);
mEditText.setText("123456");
mEditText.addTextChangedListener(new TextContentWatcher());


On Jun 2, 12:11 pm, "Mark Murphy" <[email protected]> wrote:
> > There is no problem with addTextChangedListener. As long as I
> > commented out mEditText.setText("123456"), it is working.
>
> What does your stack trace tell you?
>
> --
> Mark Murphy (a Commons Guy)http://commonsware.com
> _The Busy Coder's Guide to Android Development_ Version 2.0 Available!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to