MaterialSearchView icon indicating copy to clipboard operation
MaterialSearchView copied to clipboard

searchView.setOnItemClickListener dosen't work

Open MishaLivshitz opened this issue 8 years ago • 1 comments

hey, i want to do some things when i press on a suggestion but it is not working at all

i am using this:

searchView.setSuggestions(friendSuggestions); searchView.showSuggestions(); searchView.setOnItemClickListener(new AdapterView.OnItemClickListener() { @Override public void onItemClick(AdapterView<?> adapterView, View view, int i, long l) { //do something here } });

MishaLivshitz avatar Sep 11 '17 20:09 MishaLivshitz

Check this issue: https://github.com/MiguelCatalan/MaterialSearchView/issues/171

It helped me.

eviabs avatar Apr 11 '18 23:04 eviabs