On Mar 29, 11:52 am, Mark Murphy <[email protected]> wrote:
> jsdf wrote:
> > I then thought of trying to load the cursor in abackgroundthread,
> > but realize that this might be problematic, as theCursorAdapter
> > should be instantiated in onCreate() and should take a cursor as a
> > parameter.
>
> Why? Run your query in an AsyncTask and call setListAdapter() in
> onPostExecute() of the task.

How do I instruct the list to show "Loading" then?
ListView.setEmptyView() ?

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

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.

Reply via email to