Let me add that for the first time now I can update the ListView by
doing the following call:
m_favoriteAdapter.getCursor().requery();

But not sure if design wise is good? Why doesn't
notifyDataSetChanged() work? what's the difference on what I just did?

Thanks!

On Jul 1, 10:40 pm, Moto <medicalsou...@gmail.com> wrote:
> Hi I'm trying to clean up some code and now I'm determined to get this
> seemless ListView updating working...
>
> I want my ListView to be updated when I call notifyDataSetChanged()
> but nothing happens... I'm also passing the autoRequery flag to true
> when creating my CursorAdapter.
>
> Cursor c = FavoritesHandler.getCategoryFavorites(getSQLiteInstance(),
> category);
>                 m_favoriteAdapter.changeCursor(c);
>                 startManagingCursor(c);
>
> Any help is greatly appreciated!
> -Moto

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to