Share via


SearchView.SetOnQueryTextFocusChangeListener Method

Definition

Sets a listener to inform when the focus of the query text field changes.

[Android.Runtime.Register("setOnQueryTextFocusChangeListener", "(Landroid/view/View$OnFocusChangeListener;)V", "GetSetOnQueryTextFocusChangeListener_Landroid_view_View_OnFocusChangeListener_Handler")]
public virtual void SetOnQueryTextFocusChangeListener (Android.Views.View.IOnFocusChangeListener? listener);
[<Android.Runtime.Register("setOnQueryTextFocusChangeListener", "(Landroid/view/View$OnFocusChangeListener;)V", "GetSetOnQueryTextFocusChangeListener_Landroid_view_View_OnFocusChangeListener_Handler")>]
abstract member SetOnQueryTextFocusChangeListener : Android.Views.View.IOnFocusChangeListener -> unit
override this.SetOnQueryTextFocusChangeListener : Android.Views.View.IOnFocusChangeListener -> unit

Parameters

listener
View.IOnFocusChangeListener

the listener to inform of focus changes.

Attributes

Remarks

Java documentation for android.widget.SearchView.setOnQueryTextFocusChangeListener(android.view.OnFocusChangeListener).

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