If there is a clickable control on the UI, and the execution logic overhead of the control is large, there must be a need to prevent the control from being clicked multiple times by the user in a short period of time. Now the common solution is organized as follows
1. Windows
Since WINODWS's click message is converted from a mouse message, all mouse messages in the thread will be peek-out at the end of the onclick process.
2.android
As below, usually manually set the time flag to complete, as shown in the link
Http://stackoverflow.com/questions/16534369/avoid-button-multiple-rapid-clicks
Another scenario where a control is disabled after a click is not available, as shown in the link
http://stackoverflow.com/questions/13912510/ How-can-avoid-firing-multiple-times-an-onclick-event-when-the-user-presses-the-b
I practice using Yes click Post a delay runaable to do, if you receive a click Remove the previous runaable, re-post a go out.
3.ios,
Online by chance to see such a sentence, not personally tested
The UIApplication class has a ' beginignoringinteractionevents ' message, which can do this globally. That can is nice at times.