AdapterView.AdapterContextMenuInfo
2016-05-19 08:25
537 查看
一、结构
public static class AdapterContextMenuInfo extends Object
implements ContextMenu.ContextMenuInfo
Java.lang.Object
android.widget.AdapterView.AdapterContextMenuInfo
二、概述
当显示 AdapterView 的上下文菜单时,为
三、字段
public long id
用于显示上下文菜单的子视图的行 ID。
public int position
用于显示上下文菜单的子视图在适配器中的位置。
public View targetView
用于显示上下文菜单的子视图。也是 AdapterView 的子视图之一。
四、构造函数
public AdapterView.AdapterContextMenuInfo (View targetView,
int position, long id)
构造函数
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)
构造函数
相关文章推荐
- 01.LoT.UI 前后台通用框架分解系列之——小图片背景全屏显示(可自动切换背景)
- complex类 序列化时 IsRequired = true 问题
- Android异步更新UI的四种方式
- 更换证书后 打包异常 "UUID not found"/ "xxxx描述文件 not found"
- 125_ListView和UI卡顿
- hibernateTransactionManager 与REQUIRES_NEW的问题
- 2016 UESTC Training for Search Algorithm & String(A B C E I K)
- POJ 1947-Rebuilding Roads-(树形DP)
- 用JS代码怎么实现两个文本框的Value相乘
- UITableView 抽取及控制器的调用整合
- Query采用each方法遍历
- Exception in thread "main" org.hibernate.QueryException: illegal attempt to dereference collection
- LeetCode 334. Increasing Triplet Subsequence
- codeforces D. Maximum Value
- 347. Top K Frequent Elements
- iOS开发系列--UITableView全面解析
- HDU - 1171 Number Sequence(Kmp)
- UVA 11324 - The Largest Clique(SCC缩点 + DP)
- Codeforces #353 div.2 Infinite Sequence&Restoring Painting&Money Transfers前三题题解
- Leetcode 128. Longest Consecutive Sequence