Skip to content
Snippets Groups Projects
Commit b307d2a0 authored by Geoffrey Métais's avatar Geoffrey Métais
Browse files

Run adapter update from main thread

parent e97ee736
No related branches found
No related tags found
No related merge requests found
......@@ -351,7 +351,12 @@ public abstract class BaseBrowserFragment extends SortableFragment<BaseBrowserAd
return;
if (refreshing && !mRoot) {
refreshing = false;
mAdapter.update(refreshList);
VLCApplication.runOnMainThread(new Runnable() {
@Override
public void run() {
mAdapter.update(refreshList);
}
});
} else
refreshList = null;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment