I have a set of buttons (in TableRows), each showing a date on its
face. When one of those buttons is pressed, it calls ShowDialog, which
creates a DatePickerDialog with the data from the button loaded into
the picker. This all works great.

The problem arises when I want to update the text on the the button
face from inside the onDateSet method of the DatePickerDialog. I can't
think of a good way to get the button object so I can call
Button.setText.

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

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