标签:
1、 判断是否为快速点击
/** 判断是否是快速点击 */
private static long lastClickTime;
public static boolean isFastDoubleClick() {
long time = System.currentTimeMillis();
long timeD = time - lastClickTime;
if (0 < timeD && timeD < 500) {
return true;
}
lastClickTime = time;
return false;
}
标签:
原文地址:http://www.cnblogs.com/zhaoyanjun/p/5131313.html