I have very common situation: activity displays ListView with data from CursorAdapter (items from feed), and cursor is being notified by ContentProvider about changes in data by its URI.
The problem appears when very many items are inserted (thousands of items), so UI becomes unresponsive after notifications. So i need to set more coarse notifications.
My ideas are:
- Do not notify, requery by myself, e.g. every 1 second
- Save notification time in ContentProvider, and notify if it is older than 1 sec.
Any common solutions of this situation?
Thanks.