Commit 4e89b185 authored by Geoffrey Métais's avatar Geoffrey Métais

TV: Fix video listing on main view

parent f84df93c
......@@ -292,8 +292,11 @@ public class MainTvActivity extends BaseTvActivity implements IVideoBrowser, OnI
}
public void updateList() {
if (mVideoAdapter != null)
if (mVideoAdapter != null) {
if (mVideoAdapter.size() == 0)
mVideoAdapter.addAll(0, MediaLibrary.getInstance().getVideoItems());
mVideoAdapter.notifyArrayItemRangeChanged(0, mVideoAdapter.size());
}
}
@Override
......
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