Most visited

Recently visited

Added in API level 1

SearchManager.OnDismissListener

public static interface SearchManager.OnDismissListener

android.app.SearchManager.OnDismissListener


有关配置活动以监视搜索UI状态,请参阅 setOnDismissListener(SearchManager.OnDismissListener)

Summary

Public methods

abstract void onDismiss()

当搜索用户界面被取消时,此方法将被调用。

Public methods

onDismiss

Added in API level 1
void onDismiss ()

当搜索用户界面被取消时,此方法将被调用。 要使用它,您必须在您的活动中实施此方法,并致电setOnDismissListener(SearchManager.OnDismissListener)进行注册。

Hooray!