We are connecting to a number of WebServices and fetching a lot of
structured data(XML). We are parsing this data and storing them into
SQLite tables. This part of the application runs periodically in the
back ground.

On the foreground, the data fetched is displayed in ListViews. We have
used ArrayAdapter to back these lists up. The thing is, every time the
Actvity starts or data set is refreshed, we have to load the
ArrayLists by querying the database and call notifyDataSetChanged() on
the Adapter.
This slows down the application and affects the User experience.

Question:
1. I'd imagine using a CursorAdapter might result in performance gain,
since the framework will take care of managing the cursor. Is this
assumption valid?
2. Will the CursorAdapter take care of reflecting updates to the
database on the screen automatically?
3. Will I have to write a ContentProvider if I choose to use
CursorAdapters?
4. Are there any other considerations that we need to make?

Please help.

Thanks.

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

Reply via email to