Most visited

Recently visited

SearchViewCompat.OnCloseListenerCompat

public static abstract class SearchViewCompat.OnCloseListenerCompat
extends Object

java.lang.Object
   ↳ android.support.v4.widget.SearchViewCompat.OnCloseListenerCompat


Callback for closing the query UI.

Summary

Public constructors

SearchViewCompat.OnCloseListenerCompat()

Public methods

boolean onClose()

The user is attempting to close the SearchView.

Inherited methods

From class java.lang.Object

Public constructors

SearchViewCompat.OnCloseListenerCompat

SearchViewCompat.OnCloseListenerCompat ()

Public methods

onClose

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.

Hooray!