SearchViewListener

Reports on specific user interactions with the SearchView.

Important: This is a Public Preview API. It may be changed or removed at any time.

Functions

Link copied to clipboard
abstract fun onCommandInsert(command: String)

Reports when the input matches a command.

Link copied to clipboard
abstract fun onSearchQueryCancel()

Called when a user taps the cancel button.

Link copied to clipboard
abstract fun onSearchQueryChanged(input: String)

Reports when the text has been updated.