How to dynamically add suggestions to autocompletetextview with preserving character status

one of the easiest way of doing that (put the code in onCreate): EDIT: addied wikipedia free opensearch (if https://en.wikipedia.org doesn’t work try http://en.wikipedia.org) AutoCompleteTextView actv = new AutoCompleteTextView(this); actv.setThreshold(1); String[] from = { “name”, “description” }; int[] to = { android.R.id.text1, android.R.id.text2 }; SimpleCursorAdapter a = new SimpleCursorAdapter(this, android.R.layout.simple_list_item_2, null, from, to, 0); a.setStringConversionColumn(1); … Read more