title: Android handling multiple button clicks
body: <p>So I have a button that initiates communication to a server. However, when I try to disable the button from within the on click (to stop multiple clicks) it doesn't happen until the on click ends. This is a problem as the server communication means it takes a while for the method to execute. I saw a previous question that was answered by using flags to stop the multiple clicks (and it was stated that it is a known bug that buttons cannot be immediately inactivated). Is there now any other more elegant solution to this problem or is flags still the only way?</p>