android api 中文 (74)—— AdapterView.AdapterContextMenuInfo
前言
本章内容是android.widget.AdapterView.AdapterContextMenuInfo,版本为Android 2.3 r1,翻译来自"cnmahj",欢迎大家访问他的博客:http://android.toolib.net/blog/,再次感谢"cnmahj"!欢迎你一起参与Android API 的中文翻译,联系我over140@gmail.com。
声明
欢迎转载,但请保留文章原始出处:)
Android中文翻译组:http://code.taobao.org/project/view/404/
正文
public static class AdapterContextMenuInfo extends Object
implements ContextMenu.ContextMenuInfo
java.lang.Object
android.widget.AdapterView.AdapterContextMenuInfo
二、概述
当显示 AdapterView 的上下文菜单时,为 onCreateContextMenu(ContextMenu, View, ContextMenuInfo)
回调函数提供的额外的菜单信息。
三、字段
public long id
用于显示上下文菜单的子视图的行 ID。
public int position
用于显示上下文菜单的子视图在适配器中的位置。
public View targetView
用于显示上下文菜单的子视图。也是 AdapterView 的子视图之一。
四、构造函数
public AdapterView.AdapterContextMenuInfo (View targetView, int position, long id)
构造函数
五、相关章节
android api 中文 (73)—— AdapterView
六、补充
本文由Android中文在线文档 转换而成。
相关文章
- [Android]calabash-android再深入
- [Android]android自动化测试十六之calabash-android
- [Android] 解析android framework下利用app_process来调用java写的命令及示例
- [Android Pro] android Flag介绍
- Android 开发之旅:短信的收发及在android模拟器之间实践(二)
- Android API之android.content.AsyncQueryHandler
- Android API之android.view.View.MeasureSpec
- Android studio 提示“android qemu-system-i386.exe停止工作”
- Android 中文 API (40) —— RatingBar
- Android中文API (39) —— AbsSpinner
- android 中文 api (71) —— BluetoothServerSocket[蓝牙]
- Android 中文 API (100) —— ScrollView
- Android 中文API (92) —— MenuInflater
- Android 中文api (88)——SharedPreferences
- android中文api(85)——HorizontalScrollView
- Android中文API(128) —— HandlerThread
- Android中文API(139) —— SQLiteOpenHelper
- Android修改kernel logo和开机动画(android)
- Android 中文API
- 解决Android中No resource found that matches android:TextAppearance.Material.Widget.Button.Inverse问题
- 【Android进阶】17、设置中文:语言地区的本地化、国际化
- 如何解决之Android Studio的布局预览中文乱码
- Android查看CPU和GPU使用率(五十五)