pull/102/head
FongMi 3 years ago
parent b51ba0a986
commit b2e743d71c
  1. 2
      app/src/leanback/java/com/fongmi/android/tv/ui/fragment/VodFragment.java

@ -121,7 +121,7 @@ public class VodFragment extends Fragment implements CustomScroller.Callback, Vo
}
private boolean checkLastSize(List<Vod> items) {
if (mLast == null) return false;
if (mLast == null || items.size() == 0) return false;
int size = 5 - mLast.size();
if (size == 0) return false;
mLast.addAll(mLast.size(), new ArrayList<>(items.subList(0, size)));

Loading…
Cancel
Save