I need to get a text from SearchView and compare it to strings in my activity\'s ListView and show a Toast if the word in a SearchView is in my ListView. How do I do that? H
To get text of SearchView, use searchView.getQuery().
SearchView
searchView.getQuery()