There are quite a few callbacks associated with a fragment. The sample
programs I've seen so far use simple, local string and resource data
in onActivityCreated(), which seems late to me. Would there be any
problem with spinning off a thread, or AsyncTask, or equivalent, as
early as onAttach(), or even in onInflate() to go get data from disk
or over the network? Then by the time onActivityCreated() is called,
the data might be ready, and if not, I could just leave placeholders
in the UI until the data comes back. Any advice from the Android team
please? Thanks.

P.S. Sorry if this looks like a re-post. It is, but I can't see my
previous post at all. It just disappeared.

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