fix:修复滑动直播间无法再次点亮问题

This commit is contained in:
zlzw 2022-10-14 15:55:24 +08:00
parent fd038da6d7
commit 780f9a3328
2 changed files with 4 additions and 0 deletions

View File

@ -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)

View File

@ -1475,6 +1475,9 @@ public class PortraitLiveManager implements LivePlayListener, SocketMessageListe
mLiveRoomViewHolder.playLightAnim();
}
}
public void resetLight(){
mLighted=false;
}
public void setCoinNotEnough(boolean coinNotEnough) {
mCoinNotEnough = coinNotEnough;