由网友(稍盡春風)分享简介:什么是prevent双击在Android的一个按钮的最佳方法? What is the best way to prevent double clicks on a button in Android? 推荐答案禁用与的setEnabled(假)按钮,直到它是安全的,用户再次点击它。 Disable the...
什么是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.
相关推荐
最新文章