Since getActivity().managedQuery is UI Thread Blocking, it gets deprecated in API 15.
So.... how to get the cursor for SimpleCursorAdapter ?!?!?
You can replace the Cursor with CursorLoader, but a lot of work is needed...
Maybe Google should consider restructure SimpleCursorAdapter to meet the loader structure in the next release....
http://mobile.tutsplus.com/tutorials/android/android-sdk_loading-data_cursorloader/
No comments:
Post a Comment