}
getContext().getContentResolver().notifyChange(uri, null);
- // Get parentId to notify the change
+ // Get parentId to notify the change
long parentId = getParentId(uri);
// Notify the change to the parent folder
notifyChangeToParentUri(parentId);
mIndexes = savedInstanceState.getIntegerArrayList(KEY_INDEXES);
mFirstPositions = savedInstanceState.getIntegerArrayList(KEY_FIRST_POSITIONS);
mTops = savedInstanceState.getIntegerArrayList(KEY_TOPS);
- onCreateLoader(LOADER_ID, null);
+ mHeightCell = savedInstanceState.getInt(KEY_HEIGHT_CELL);
} else {
mIndexes = new ArrayList<Integer>();
outState.putIntegerArrayList(KEY_FIRST_POSITIONS, mFirstPositions);
outState.putIntegerArrayList(KEY_TOPS, mTops);
outState.putInt(KEY_HEIGHT_CELL, mHeightCell);
-
}
/**
if (storageManager != null) {
mAdapter.setStorageManager(storageManager);
mCursorLoader.setParentId(parentId);
- mCursorLoader.setStorageManager(storageManager);
newCursor = mCursorLoader.loadInBackground();//storageManager.getContent(folder.getFileId());
Uri uri = Uri.withAppendedPath(
ProviderTableMeta.CONTENT_URI_DIR,