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.
Which thread(s) call `onCreateLoader()` and `onLoadFinished()`?
596 views Asked by Code-Apprentice At
1
Loader callback are called on the thread from which initloader method is called. In general it will be main thread.