Filtering AutoCompleteTextView to show partial match
问题 Right now I have an AutoCompleteTextView and I want it to work just like the like "%xxx%" does in SQL. I attempted to do it using Filterable I have it and the code runs but it just displays everything now even if there is no partial match. Any help would be appreciated. public class CodesArrayAdapter extends ArrayAdapter implements Filterable{ List<String> allCodes; List<String> originalCodes; StringFilter filter; public CodesArrayAdapter(Context context, int resource, List<String> keys) {