This is a small demonstration of how I managed to get the Android SearchView widget working nice.
You can find the source code here
This is a standalone app supporting android versions 8 -> 22 featuring:
- Proper material theme styling of the search view
- How to wire up the search view to a ContentProvider
- How to use the SearchRecentSuggestionsProvider
Written with StackEdit.