Most visited

Recently visited

SearchViewCompat.OnCloseListenerCompat

public static abstract class SearchViewCompat.OnCloseListenerCompat
extends Object

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


关闭查询UI的回调。

Summary

Public constructors

SearchViewCompat.OnCloseListenerCompat()

Public methods

boolean onClose()

用户正试图关闭SearchView。

Inherited methods

From class java.lang.Object

Public constructors

SearchViewCompat.OnCloseListenerCompat

SearchViewCompat.OnCloseListenerCompat ()

Public methods

onClose

boolean onClose ()

用户正试图关闭SearchView。

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

Hooray!