Most visited

Recently visited

Added in API level 11

SearchView.OnCloseListener

public static interface SearchView.OnCloseListener

android.widget.SearchView.OnCloseListener


Summary

Public methods

abstract boolean onClose()

用户正试图关闭SearchView。

Public methods

onClose

Added in API level 11
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!