addTextChangedListener onTextChanged count Not working On android version 10
问题 I use addTextChangedListener to search item from server with retrofit. but only android version 10 onTextChanged count not working...? Here is my code searchEdit.addTextChangedListener(new TextWatcher() { @Override public void beforeTextChanged(CharSequence s, int start, int count, int after) { } @Override public void onTextChanged(CharSequence s, int start, int before, int count) { if (count>1) { String name = searchEdit.getText().toString().trim(); if (!name.isEmpty()) { searchItemByName