in AppSearchSample/app/src/main/java/com/android/example/appsearchsample/MainActivity.kt [105:110]
override fun onQueryTextChange(newText: String): Boolean {
// This resets the notes list to display all notes if the query is
// cleared.
if (newText.isEmpty()) noteViewModel.queryNotes()
return false
}