SearchView.OnCloseListener


public interface SearchView.OnCloseListener


Summary

Public methods

abstract boolean

The user is attempting to close the SearchView.

Public methods

onClose

Added in 1.1.0
abstract boolean onClose()

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.