Tentativo di implementare LoaderManager + CursorLoader.SimpleCursorAdapter, spostamento del cursore nel livello API inferiore a 11
In adattatore metodo OnFinish dovrebbe scambiare il suo cursore
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);
}
Ma swapCursor è disponibile dal livello API 11.
Allora, come devo scambiare cursore API Android 10?