- android
- android.accessibilityservice
- android.accounts
- android.content
- android.database.sqlite
- android.graphics
- android.location
- android.media
- android.net
- android.os
- android.text
- android.view
- android.view.inputmethod
- android.widget
- AbsListView
- AbsoluteLayout
- AbsSeekBar
- AbsSpinner
- AdapterView
- AnalogClock
- BaseAdapter
- BaseExpandableListAdapter
- Button
- CheckBox
- CheckedTextView
- Checkable
- Chronometer
- CompoundButton
- CursorAdapter
- CursorTreeAdapter
- DatePicker
- DialerFilter
- DigitalClock
- EditText
- Filter
- Filter.FilterListener
- Filter.FilterResults
- ExpandableListAdapter
- Filterable
- Gallery
- Gallery.LayoutParams
- GridView
- GridLayout
- RadioGroup
- ImageView
- HorizontalScrollView
- ImageButton
- ImageSwitcher
- FilterQueryProvider
- ListAdapter
- ListView
- MediaController
- QuickContactBadge
- RadioButton
- RatingBar
- RelativeLayout
- RemoteViews
- ResourceCursorAdapter
- ResourceCursorTreeAdapter
- Scroller
- ScrollView
- SearchView
- SeekBar
- SeekBar.OnSeekBarChangeListener
- SimpleAdapter
- SimpleCursorAdapter
- SimpleCursorTreeAdapter
- SimpleExpandableListAdapter
- SlidingDrawer
- Spinner
- SpinnerAdapter
- WrapperListAdapter
- TabHost
- TabHost.TabSpec
- TextView
- TimePicker
- Toast
- TableLayout
- TableRow
- TableRow.LayoutParams
- TabWidget
- TextSwitcher
- ToggleButton
- TwoLineListItem
- VideoView
- ViewAnimator
- ViewFlipper
- ViewSwitcher
- ZoomButtonsController
- ZoomButton
- ZoomControls
- dalvik.system
文章来源于网络收集而来,版权归原创者所有,如有侵权请及时联系!
SearchView.OnSuggestionListener
SearchView.OnSuggestionListener
版本:Android 2.3 r1
结构
继承关系
Public static interface SearchView.OnSuggestionListener
android.widget.SearchView.OnSuggestionListener
类概述
选中搜索建议时的回调接口。当 SearchableInfo 通过 setSearchableInfo(SearchableInfo).特别指定时,才调用这些回调函数。
公共方法
public abstract boolean onSuggestionClick (int position)
当点击一条搜索建议时调用
参数
position 在建议列表中的点击项的绝对位置。
返回值
如果监听器处理这个事件,并且重写默认的处理方法,处理发送的 intent 请求或者是在这条目中指定的查询请求,刚返回 true。否则返回 false。
public abstract boolean onSuggestionSelect (int position)
通过导航选中搜索建议时调用
参数
position 在建议列表中绝对位置。
返回值
如果监听器处理这个事件,并且重写基于选中条目的处理方法,刚返回 true。否则返回 false。
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论