public void updateResults(){
  mResultList.clear();
  int count=0;
  for (int x=0; x < mSearchableList.size(); x++) {
    SearchResult searchable=mSearchableList.get(x);
    if (mSearchFilter.onFilter(searchable,getSearchText()) && count < 5) {
      addResult(searchable);
      count++;
    }
  }
  if (mResultList.size() == 0) {
    mResultsListView.setVisibility(View.GONE);
  }
 else {
    mResultsListView.setVisibility(View.VISIBLE);
  }
}

public void updateResults ( ) { mResultList . clear ( ) ; int count = 0 ; for ( int x = 0 ; x < mSearchableList . size ( ) ; x ++ ) { SearchResult searchable = mSearchableList . get ( x ) ; if ( mSearchFilter . onFilter ( searchable , getSearchText ( ) ) && count < 5 ) { addResult ( searchable ) ; count ++ ; } } if ( mResultList . size ( ) == 0 ) { mResultsListView . setVisibility ( View . GONE ) ; } else { mResultsListView . setVisibility ( View . VISIBLE ) ; } }
force an update of the results
