SearchView.SetOnSuggestionListener(SearchView+IOnSuggestionListener) 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 a suggestion is focused or clicked.
[Android.Runtime.Register("setOnSuggestionListener", "(Landroid/widget/SearchView$OnSuggestionListener;)V", "GetSetOnSuggestionListener_Landroid_widget_SearchView_OnSuggestionListener_Handler")]
public virtual void SetOnSuggestionListener (Android.Widget.SearchView.IOnSuggestionListener? listener);
[<Android.Runtime.Register("setOnSuggestionListener", "(Landroid/widget/SearchView$OnSuggestionListener;)V", "GetSetOnSuggestionListener_Landroid_widget_SearchView_OnSuggestionListener_Handler")>]
abstract member SetOnSuggestionListener : Android.Widget.SearchView.IOnSuggestionListener -> unit
override this.SetOnSuggestionListener : Android.Widget.SearchView.IOnSuggestionListener -> unit
Parameters
- listener
- SearchView.IOnSuggestionListener
the listener to inform of suggestion selection events.
- 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.