[android-developers] Re: How can Button clicks be sent to a View that has been disabled?

2011-07-09 Thread Doug
What is do some stuff doing? When you make changes to the UI, they don't commit until after the current batch of code fully completes on the UI thread. In your case, do some stuff will execute prior to the button being disabled. So if you're doing some lengthy stuff in there, the user might

Re: [android-developers] Re: How can Button clicks be sent to a View that has been disabled?

2011-07-08 Thread Filip Havlicek
Did you try setting setClickable(false) as well? 2011/7/8 William Ferguson william.ferguson...@gmail.com Has no one seen an incidence of this occurring? I would have said flat out it can't occur except that I see a couple of instances each day. Does this mean that all handler code needs to

[android-developers] Re: How can Button clicks be sent to a View that has been disabled?

2011-07-08 Thread William Ferguson
No. I expected that for a Button (especially) that setting enabled=false would also set clickable=false. I haven't come across a UI paradigm yet where that hasn't been the case. On Jul 8, 5:15 pm, Filip Havlicek havlicek.fi...@gmail.com wrote: Did you try setting setClickable(false) as well?

[android-developers] Re: How can Button clicks be sent to a View that has been disabled?

2011-07-07 Thread William Ferguson
Has no one seen an incidence of this occurring? I would have said flat out it can't occur except that I see a couple of instances each day. Does this mean that all handler code needs to explicitly check to see if a button is enabled first before executing its action? On Jul 7, 10:31 am, William