Commit 8b23a389 authored by Geoffrey Métais's avatar Geoffrey Métais

TV: browse only at activity creation

parent d60e5fa2
......@@ -96,17 +96,12 @@ public abstract class SortedBrowserFragment extends BrowseFragment implements Br
setBrandColor(getResources().getColor(R.color.orange800));
}
public void onResume() {
super.onResume();
if (mAdapter.size() == 0) {
browse();
}
}
@Override
public void onActivityCreated(Bundle savedInstanceState) {
super.onActivityCreated(savedInstanceState);
setHeadersState(HEADERS_HIDDEN);
if (mAdapter.size() == 0)
browse();
}
......
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