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 097bedea5..9c68fc0ad 100644 --- a/live/src/main/java/com/yunbao/live/activity/LiveAudienceActivity.java +++ b/live/src/main/java/com/yunbao/live/activity/LiveAudienceActivity.java @@ -210,6 +210,7 @@ public class LiveAudienceActivity extends LiveActivity { } else { verticalViewPager.setEnableScroll(IMLoginManager.get(mContext).isSlide()); mCurrentItem = position; + manager.resetLight(); Log.e(TAG, "mCurrentItem:" + mCurrentItem); if (mCurrentItem == itemModelList.size() - 1) { MainNetManager.get(mContext) diff --git a/live/src/main/java/com/yunbao/live/views/PortraitLiveManager.java b/live/src/main/java/com/yunbao/live/views/PortraitLiveManager.java index a1b7fe681..5524b1d90 100644 --- a/live/src/main/java/com/yunbao/live/views/PortraitLiveManager.java +++ b/live/src/main/java/com/yunbao/live/views/PortraitLiveManager.java @@ -1475,6 +1475,9 @@ public class PortraitLiveManager implements LivePlayListener, SocketMessageListe mLiveRoomViewHolder.playLightAnim(); } } + public void resetLight(){ + mLighted=false; + } public void setCoinNotEnough(boolean coinNotEnough) { mCoinNotEnough = coinNotEnough;