試圖實現LoaderManager + CursorLoader。SimpleCursorAdapter,在API級別下面交換光標11
在onFinish方法適配器應更換至光標
public void onLoadFinished(Loader<Cursor> loader, Cursor data) {
// Swap the new cursor in. (The framework will take care of closing the
// old cursor once we return.)
mAdapter.swapCursor(data);
}
但swapCursor是因爲API級別可用11
那麼應該怎麼換光標在Android的API 10?