11 2011 档案

摘要:1。方法一:利用adapter这种方法的原理破坏view的重用,使用List保存checkchange状态,然后在bindview中添加根据list的状态修改checkbox的勾。注意mCheckItemView.mCheckBox.setOnCheckedChangeListener(null);修改前屏蔽事件package com.handcent.im.adapter;import java.util.ArrayList;import java.util.List;import android.content.Context;import android.database.Cursor; 阅读全文
posted @ 2011-11-10 18:19 pandans 阅读(834) 评论(0) 推荐(0)
摘要:http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android/2.3.5_r1/android/view/MotionEvent.java#MotionEvent.findPointerIndex%28int%29 阅读全文
posted @ 2011-11-07 16:38 pandans 阅读(647) 评论(0) 推荐(0)