Monday, October 26, 2009

[android-developers] Re: ListView with Streaming Content

I recommend using the AsycTask abstract class declared inside your
custom ListAdapter... That made my life so much easier when trying to
load content progressively on request and updating the UI content at
the same time...

On Oct 25, 11:20 am, Miguel Paraz <mpa...@gmail.com> wrote:
> Hi,
>
> On Oct 25, 10:59 pm, "Mark Murphy" <mmur...@commonsware.com> wrote:
>
> > Replace the current contents of your Runnable with a call to requery() on
> > the underlying Cursor. That will trigger an update of the
> > SimpleCursorAdapter and the corresponding ListView.
>
> Thanks! Yes, it pushed the new results to the UI layer even if the
> requery() was done on the Cursor and not a UI class. Not obvious.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments:

Post a Comment