Rearrange the scattered code stub for handling search queries (the onQueryTextChange function is intentionally removed from this task).
Menus: Options, Popup
Performing search
Report a typo
Reorder lines using drag or arrows. Adjust indentation with left buttons
search.collapseActionView()
return true
})
}
searchView.setOnQueryTextListener(object : OnQueryTextListener {
override fun onQueryTextSubmit(query: String): Boolean {
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.