本月博客排行
-
第1名
wy_19921005 -
第2名
benladeng5225 -
第3名
duanfei - Anmin
- wddpwzzhao123
- steven789654
年度博客排行
-
第1名
龙儿筝 -
第2名
宏天软件 -
第3名
wy_19921005 - benladeng5225
- vipbooks
- kaizi1992
- tanling8334
- sam123456gz
- arpenker
- zysnba
- fantaxy025025
- xiangjie88
- wallimn
- e_e
- jh108020
- ganxueyun
- Xeden
- xyuma
- wangchen.ily
- zhanjia
- johnsmith9th
- zxq_2017
- forestqqqq
- jbosscn
- daizj
- xpenxpen
- 喧嚣求静
- kingwell.leng
- lchb139128
- kristy_yy
- javashop
- lzyfn123
- sunj
- 青否云后端云
- yeluowuhen
- ajinn
- lerf
- lemonhandsome
- chenqisdfx
- xiaoxinye
- lyndon.lin
- flashsing123
- bosschen
- zhangjijun
- sunnylocus
- lyj86
- paulwong
- sgqt
- hudiemeng870329
- mft8899
最新文章列表
用BaseAdapter时,在ListView的onItemClick方法狂报 ClassCastException:java.lang.Boolean
原因:
通常在使用simpleCursorAdapter的listview中的onItemClick方法中,
使用Cursor cursor = (Cursor)listView.getItemAtPosition(position);可以的到改位置的cursor,
但如果使用BaseAdapter,由于我们重写了
@Override
public Object getItem(int ...