Commit 7299fddc authored by Geoffrey Métais's avatar Geoffrey Métais

Fix video list refresh after playback

parent a6ded1d6
......@@ -154,6 +154,20 @@ public class VideoGridFragment extends SortableFragment<VideoListAdapter> implem
mGridView.setAdapter(mAdapter);
}
@Override
public void onResume() {
super.onResume();
if (restart)
updateList();
}
private boolean restart = false;
@Override
public void onPause() {
super.onPause();
restart = true;
}
@Override
public void onHiddenChanged(boolean hidden) {
super.onHiddenChanged(hidden);
......
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