SearchView.SetOnCloseListener(SearchView+IOnCloseListener) Method

Definition

Sets a listener to inform when the user closes the SearchView.

[Android.Runtime.Register("setOnCloseListener", "(Landroid/widget/SearchView$OnCloseListener;)V", "GetSetOnCloseListener_Landroid_widget_SearchView_OnCloseListener_Handler")]
public virtual void SetOnCloseListener (Android.Widget.SearchView.IOnCloseListener? listener);
[<Android.Runtime.Register("setOnCloseListener", "(Landroid/widget/SearchView$OnCloseListener;)V", "GetSetOnCloseListener_Landroid_widget_SearchView_OnCloseListener_Handler")>]
abstract member SetOnCloseListener : Android.Widget.SearchView.IOnCloseListener -> unit
override this.SetOnCloseListener : Android.Widget.SearchView.IOnCloseListener -> unit

Parameters

listener
SearchView.IOnCloseListener

the listener to call when the user closes the SearchView.

Attributes

Remarks

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

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