title: Filter a recycleview using searchview and search suggestions and voice search
body: <p><a href="https://developer.android.com/guide/topics/search/search-dialog.html#SearchSuggestions" rel="nofollow noreferrer">Android general search functionality</a> seems to have nice system support for showing search suggestions like recent query suggestions and custom suggestions, in addition to voice search.</p>
  
  <p>This framework requires one to declare a search activity. That activity gets the query in an intent, and presents search results to a ListView.</p>
  
  <p>I have two questions on this: </p>
  
  <p>1- I want to do the search in the current activity (I have a searchview on appbar). So, will that activity be restarted? That would be weird. Should I send to an unvisible activity and get results back? Is that possible?</p>
  
  <p>2- Can I use RecyclerView instead of ListView? I thought ListView is deprecated in favour of RecyclerView.</p>