fix:修复滑动直播间无法再次点亮问题
This commit is contained in:
parent
fd038da6d7
commit
780f9a3328
@ -210,6 +210,7 @@ public class LiveAudienceActivity extends LiveActivity {
|
|||||||
} else {
|
} else {
|
||||||
verticalViewPager.setEnableScroll(IMLoginManager.get(mContext).isSlide());
|
verticalViewPager.setEnableScroll(IMLoginManager.get(mContext).isSlide());
|
||||||
mCurrentItem = position;
|
mCurrentItem = position;
|
||||||
|
manager.resetLight();
|
||||||
Log.e(TAG, "mCurrentItem:" + mCurrentItem);
|
Log.e(TAG, "mCurrentItem:" + mCurrentItem);
|
||||||
if (mCurrentItem == itemModelList.size() - 1) {
|
if (mCurrentItem == itemModelList.size() - 1) {
|
||||||
MainNetManager.get(mContext)
|
MainNetManager.get(mContext)
|
||||||
|
@ -1475,6 +1475,9 @@ public class PortraitLiveManager implements LivePlayListener, SocketMessageListe
|
|||||||
mLiveRoomViewHolder.playLightAnim();
|
mLiveRoomViewHolder.playLightAnim();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
public void resetLight(){
|
||||||
|
mLighted=false;
|
||||||
|
}
|
||||||
|
|
||||||
public void setCoinNotEnough(boolean coinNotEnough) {
|
public void setCoinNotEnough(boolean coinNotEnough) {
|
||||||
mCoinNotEnough = coinNotEnough;
|
mCoinNotEnough = coinNotEnough;
|
||||||
|
Loading…
Reference in New Issue
Block a user