Commit e9acd0c5 authored by Geoffrey Métais's avatar Geoffrey Métais
Browse files

Fix parsed medialists not stored

parent 52a67879
......@@ -497,7 +497,7 @@ public abstract class BaseBrowserFragment extends MediaBrowserFragment implement
if (!TextUtils.equals(holderText, "")) {
mAdapter.setDescription(mCurrentParsedPosition, holderText);
mMediaLists.append(mCurrentParsedPosition, directories);
mMediaLists.put(mCurrentParsedPosition, new ArrayList<MediaWrapper>(directories));
while (++mCurrentParsedPosition < mAdapter.getItemCount()){ //skip media that are not browsable
if (mAdapter.getItem(mCurrentParsedPosition) instanceof MediaWrapper) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment