CursorAdapter notifyDataSetChanged doesn't work? What am I doing wrong?

by Moto » Fri, 02 Jul 2010 10:41:14 GMT


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

--



Other Threads

1. Application/Activity launched notification?

hi,

Is there a way in Android, to listen for any event/notification when
an application/actiivty is launched?.  Thanks.

Sukumar.
--~--~---------~--~----~------------~-------~--~----~

2. How to compile android source code with a different toolchain

Hi All,

I want to compile the complete android source code using any open source
arm-eabi toolchain as available in code sourcery.

How can i do it.??

Please help me out.

Thanks & Regards
Nimit

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

3. Help! How to collect logs on a real G1?

4. which android kernel to use?

5. ImageView Question

6. Is video display by hardware overlay not supported yet after cupcake is merged?

7. Emulator start, but application doesn't