EditText with TextWatcher and Suggestions
问题 Moving an app from 2.2 to 3.x, one of my EditText's that I was using a TextWatcher on for validation is behaving badly. In short, when a user clicks on the EditText and the entire word goes into 'suggestions mode' (where it is underlined), it effectively gets removed from the EditText from the TextWatcher's perspective, triggering my text validation check that I do for an empty EditText. The code: mText = (EditText) findViewById(R.id.inpt_title); mText.addTextChangedListener(new TextWatcher()