How to make words stand out when you enter characters in Searchview in Listview, watch the video to understand the link below, uploaded to Imgur
mySearchView.setOnQueryTextListener(new SearchView.OnQueryTextListener() {
@Override
public boolean onQueryTextSubmit(String s) {
return false;
}
@Override
public boolean onQueryTextChange(String s) {
adapter.getFilter().filter(s);
//and here the function should be written somehow
return false;
}
});