I am implementing LoaderManager.LoaderCallbacks
in order to access my app's database and populate a ListView
. Which threads will call my onCreateLoader()
and onLoadFinished()
? Are they called on the UI thread or the CursorLoader
's thread? The documentation for LoaderCallbacks is mute on this point.
Loader callback are called on the thread from which initloader method is called. In general it will be main thread.