setOnClickListener
重写 然后实现 onClickListener接口
然后封装一个时间
//全局定义 private long lastClickTime = 0L; private static final int FAST_CLICK_DELAY_TIME = 1000; // 快速点击间隔
if (System.currentTimeMillis() - lastClickTime < FAST_CLICK_DELAY_TIME){ return; } lastClickTime = System.currentTimeMillis();