安卓preventing双点击一个按钮按钮、preventing

2023-09-12 03:50:21 作者:稍盡春風

什么是prevent双击在Android的一个按钮的最佳方法?

What is the best way to prevent double clicks on a button in Android?

推荐答案

禁用与的setEnabled(假)按钮,直到它是安全的,用户再次点击它。

Disable the button with setEnabled(false) until it is safe for the user to click it again.

 
精彩推荐
图片推荐