I have a List view bound to a cursor. My database will be updated by a separate thread. I’m not getting the list control with the new items. Any help with sample code…
Thank you in advance
I have a List view bound to a cursor. My database will be updated
Share
After modifying the data set that is connected on the adapter you must call notifyDataSetChanged to notify the adapter to update the views with the new data. You must also call requery on the Cursor to update the cursor with new data. To clarify you should call requery before notifyDataSetChanged.