SearchView.SetOnQueryTextFocusChangeListener Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.