Search code examples
androidandroid-cursorloader

Where should I process query results when using CursorLoader?


Where should I process query results (time consuming task) when using CursorLoader?


Solution

  • Use AsyncTask to load data from cursor and return values in onPostExcute method (uiThread), when you'll call the task multiple times cancel the the former.