Snowberg

 

2012年3月28日

重写BaseAdapter时应注意的问题

摘要: 最近开发的项目需要用到重写BaseAdapter,已经重写成功,可以在界面正确显示,但是在处理点击事件时出现了问题,由于还是使用的是之前SimpleAdapter的点击事件,问题一直没有解决,后来经过查询资料发现:重写BaseAdapter的四个方法public int getCount()public Object getItem(int position)public long getItemId(int position)public View getView(int position, View convertView, ViewGroup parent)的主要功能。地址:http:/ 阅读全文

posted @ 2012-03-28 08:37 Snowberg 阅读(368) 评论(0) 推荐(0) 编辑

导航