Join us on the livestream at Android Dev Summit on 7-8 November 2018, starting at 10AM PDT!

SearchView.OnCloseListener

public static interface SearchView.OnCloseListener

androidx.appcompat.widget.SearchView.OnCloseListener


Summary

Public methods

abstract boolean onClose()

The user is attempting to close the SearchView.

Public methods

onClose

public 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.