Hi guys

I am extending AsyncTask to push some database operations off to a different
thread to the
UI. I can successfully update Views that have been previously defined in XML
by setting them
as member variables of my Activity. This way I have access to them from my
inner AsyncTask
class.

However, I also need to dynamically create views and don't have access to
the App context in my
extended AsyncTask. Where one is dynamically creating views,  (TableRows for
example representing
results from a DB)  what is the best way to do this in a separate thread to
the UI ?
Regards
Don

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