EditText input filter causing repeating letters
问题 I have been limiting the input to my edittext like this; InputFilter filter = new InputFilter() { public CharSequence filter(CharSequence source, int start, int end, Spanned dest, int dstart, int dend) { String output = ""; for (int i = start; i < end; i++) { if (source.charAt(i)!='~'&&source.charAt(i)!='/') { output += source.charAt(i); } } return output; } }; But anyone who has used this method will know that it causes repeating characters when it is mixed with auto correct and the