diff --git a/live/src/main/java/com/yunbao/live/activity/LiveAudienceActivity.java b/live/src/main/java/com/yunbao/live/activity/LiveAudienceActivity.java index 1b264bf68..e10ace99f 100644 --- a/live/src/main/java/com/yunbao/live/activity/LiveAudienceActivity.java +++ b/live/src/main/java/com/yunbao/live/activity/LiveAudienceActivity.java @@ -320,6 +320,9 @@ public class LiveAudienceActivity extends LiveActivity { private Runnable liveRunnable = new Runnable() { @Override public void run() { + if (itemModelList.size() <= mCurrentPage) { + mCurrentPage = 0; + } AnchorRecommendItemModel data = itemModelList.get(mCurrentPage); if (mCurrentPage == 0 && liveIndex) { View rootView = manager.getRootView();