SearchView.OnCloseListener

interface SearchView.OnCloseListener


Summary

Public functions

Boolean

The user is attempting to close the SearchView.

Public functions

onClose

Added in 1.1.0
fun onClose(): Boolean

The user is attempting to close the SearchView.

Returns
Boolean

true if the listener wants to override the default behavior of clearing the text field and dismissing it, false otherwise.