public interface

SearchView.OnCloseListener

 androidx.appcompat.widget.SearchView.OnCloseListener

Summary

Methods
public booleanonClose()

The user is attempting to close the SearchView.

Methods

public boolean onClose()

The user is attempting to close the SearchView.

Returns:

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