@@ -0,0 +1,897 @@
+package com.camnter.newlife.utils;%0A%0A/**%0A * Description%EF%BC%9AClickUtil%0A * Created by%EF%BC%9ACaMnter%0A * Time%EF%BC%9A2015-12-08 17:54%0A */%0Apublic class ClickUtil %7B%0A    private static long lastClickTime;%0A    private static long clickInterval = 500;%0A%0A    public static ClickUtil ourInstance;%0A%0A    public static ClickUtil getInstance() %7B%0A        if (ourInstance == null) ourInstance = new ClickUtil();%0A        return ourInstance;%0A    %7D%0A%0A    public static ClickUtil setInterval(long interval) %7B%0A        clickInterval = interval;%0A        return getInstance();%0A    %7D%0A%0A    public static ClickUtil clearLastTime() %7B%0A        lastClickTime = 0L;%0A        return getInstance();%0A    %7D%0A%0A    public synchronized static boolean clickable() %7B%0A        long currentTime = System.currentTimeMillis();%0A        boolean status = currentTime - lastClickTime %3E= clickInterval;%0A        lastClickTime = currentTime;%0A        return status;%0A    %7D%0A%7D%0A

add ClickUtil