On Thu, Mar 17, 2011 at 6:43 PM, Bret Foreman <[email protected]>wrote:

> My first try was to store the last pushed button in an instance variable of
> the Activity. This does not survive rotation, however.
>

Do your buttons have unique ids? You could save the *ID* of the button as
the last pressed which you could save and restore across orientation.

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

-- 
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