
listview
awodefengduanwu
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
convertView直接设置点击监听
下面是我写的两个适配器adapter中的getView方法,第一个给convertView直接设置点击监听不起作用,第二个却可以点击,这是为什么呢? @Override public View getView(final int position, View convertView, ViewGroup viewGroup) { ViewHolder viewHolder; if (convert...原创 2020-01-12 15:20:32 · 308 阅读 · 0 评论 -
convertView&setTag方法的一点理解
前言 首先我们要知道setTag方法是干什么的,SDK解释为 Tags Unlike IDs, tags are not used to identify views. Tags are essentially an extra piece of information that can be associated with a view. They are most often used as ...原创 2020-01-10 17:52:38 · 158 阅读 · 0 评论