Compartir a través de


SearchView.IOnCloseListener.OnClose Method

Definition

The user is attempting to close the SearchView.

[Android.Runtime.Register("onClose", "()Z", "GetOnCloseHandler:Android.Widget.SearchView/IOnCloseListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool OnClose ();
[<Android.Runtime.Register("onClose", "()Z", "GetOnCloseHandler:Android.Widget.SearchView/IOnCloseListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnClose : unit -> bool

Returns

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

Attributes

Remarks

The user is attempting to close the SearchView.

Java documentation for android.widget.SearchView.OnCloseListener.onClose().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to