long lastClickTime ;private boolean isFastDoubleClick() { long time = System.currentTimeMillis(); if (time - lastClickTime < 1000) { return true; } lastClickTime = time; return false;}
时间: 2024-12-13 17:12:24
long lastClickTime ;private boolean isFastDoubleClick() { long time = System.currentTimeMillis(); if (time - lastClickTime < 1000) { return true; } lastClickTime = time; return false;}