I have an activity with a list and some buttons.

Tapping an item on the list starts a new activity (for result).

If you tap an item on the list then quickly tap a button straight
after, the sub-activity is started but the button press is also
registered and acted on, often leading to weird states.

Surely it would make sense that once Android knows that control is
going to a sub-activity (startActivityForResult) it should disable
widget interaction with the activity that's about to not-be-foreground-
anymore ?

At the moment I have to set a flag variable when a list item is
checked and use it to disable
buttons (plus clear it in onActivityResult), but I'm not sure I've
managed to cover all the possibilities over all the activities of my
app.

Pent

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to