Sorry, still dont know how to get that object in activity. do you have an example? Thanks.
On Jun 20, 8:49 pm, "Mark Murphy" <[email protected]> wrote: > > I defined an object in activity, and defined two views in this > > activity, can I access this object in the views? I tried, seems can > > not, but how can I do this? how to share data of activity between > > views of this activity? thanks a lot... > > getContext() will return the View's Activity. > > -- > Mark Murphy (a Commons Guy)http://commonsware.com > _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" 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-beginners?hl=en -~----------~----~----~----~------~----~------~--~---

