<repopulate recyclerview onQueryTextChange of sear...
# stackoverflow
u
repopulate recyclerview onQueryTextChange of searchView (with API call) I would like to display suggestions in recyclerView instead of embedded UI of the searchView (like on picture below)

https://i.stack.imgur.com/8WfkZ.png▾

Suggestions are loaded from API call on each text query change of my searchView. Then, each time I receipt new suggestions, I'm executing an AsyncTask which populate the UI suggestions using Cursor class FetchSearchUserTermSuggestionsTask(var searchview: SearchView) : AsyncTask() { override fun...