Edittext InputFilter and Auto Meetings

For example, I have an input filter that blocks any characters in the edititext:

 editText.setFilters(new InputFilter[]{new InputFilter() {
        @Override
        public CharSequence filter(CharSequence source, int start, int end, Spanned dest, int dstart, int dend) {
            return "";
        }
    }});

      

But auto-meetings continue to update, so the user can click on them or press the back button and the edittext will be filled with filtered data. How do you avoid this strange logic? (Do not change autosubjects when characher has been filtered) Tested on huawei ascend p6.

+3


source to share





All Articles