Androider Androider - 1 year ago 273
Android Question

Android Preventing Double Click On A Button

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

Answer Source

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