修复【关注主播后赠送粉丝牌后进不去粉丝团任务界面,需要重进直播间才可以。】
This commit is contained in:
parent
05b1a9bc74
commit
020bbf322d
@ -349,16 +349,16 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
|
|||||||
updataCleanMic();
|
updataCleanMic();
|
||||||
//拿到原始数据
|
//拿到原始数据
|
||||||
for (int i = 0; i < list.size(); i++) {
|
for (int i = 0; i < list.size(); i++) {
|
||||||
LinkMicUserBean bean=list.get(i);
|
LinkMicUserBean bean = list.get(i);
|
||||||
if(i==1){
|
if (i == 1) {
|
||||||
mic_view.setVisibility(View.VISIBLE);
|
mic_view.setVisibility(View.VISIBLE);
|
||||||
mic_ids.add(bean.getId());
|
mic_ids.add(bean.getId());
|
||||||
ImgLoader.display2(Contexts, bean.getAvatar(), mic_ico);
|
ImgLoader.display2(Contexts, bean.getAvatar(), mic_ico);
|
||||||
}else if(i==2){
|
} else if (i == 2) {
|
||||||
mic_view1.setVisibility(View.VISIBLE);
|
mic_view1.setVisibility(View.VISIBLE);
|
||||||
mic_ids.add(bean.getId());
|
mic_ids.add(bean.getId());
|
||||||
ImgLoader.display2(Contexts, bean.getAvatar(), mic_ico1);
|
ImgLoader.display2(Contexts, bean.getAvatar(), mic_ico1);
|
||||||
}else if(i==3){
|
} else if (i == 3) {
|
||||||
mic_view2.setVisibility(View.VISIBLE);
|
mic_view2.setVisibility(View.VISIBLE);
|
||||||
mic_ids.add(bean.getId());
|
mic_ids.add(bean.getId());
|
||||||
ImgLoader.display2(Contexts, bean.getAvatar(), mic_ico2);
|
ImgLoader.display2(Contexts, bean.getAvatar(), mic_ico2);
|
||||||
@ -2713,6 +2713,9 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
|
|||||||
((LiveAudienceActivity) mContext).openFansMedalOkWindow();
|
((LiveAudienceActivity) mContext).openFansMedalOkWindow();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
if (!isAncher && bean.getGiftName().equals("粉絲牌")) {
|
||||||
|
LiveAudienceActivity.is_fans = "1";
|
||||||
|
}
|
||||||
Log.i("tvss", bean.getDrpk_status() + "是" + mLiveUid + "vsss" + bean.getRoomnum());
|
Log.i("tvss", bean.getDrpk_status() + "是" + mLiveUid + "vsss" + bean.getRoomnum());
|
||||||
if (mLiveGiftAnimPresenter == null) {
|
if (mLiveGiftAnimPresenter == null) {
|
||||||
mLiveGiftAnimPresenter = new LiveGiftAnimPresenter(mContext, mContentView, mGifImageView, mSVGAImageView, mLiveGiftPrizePoolContainer, windowManager);
|
mLiveGiftAnimPresenter = new LiveGiftAnimPresenter(mContext, mContentView, mGifImageView, mSVGAImageView, mLiveGiftPrizePoolContainer, windowManager);
|
||||||
@ -3171,7 +3174,7 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
|
|||||||
|
|
||||||
if (taskModel != null) {
|
if (taskModel != null) {
|
||||||
GiftModel giftModel = newPeopleTask.getGift();
|
GiftModel giftModel = newPeopleTask.getGift();
|
||||||
if (giftModel!=null){
|
if (giftModel != null) {
|
||||||
RewardAllModel rewardOne = newPeopleTask.getRewardOne();
|
RewardAllModel rewardOne = newPeopleTask.getRewardOne();
|
||||||
String gold = rewardOne.getGold();
|
String gold = rewardOne.getGold();
|
||||||
String experience = rewardOne.getExperience();
|
String experience = rewardOne.getExperience();
|
||||||
@ -3582,7 +3585,7 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
|
|||||||
.setMicIng(2)
|
.setMicIng(2)
|
||||||
.setBean(liveBean).setLiveType(liveType).setLiveTypeVal(Integer.parseInt(liveTypeVal)));
|
.setBean(liveBean).setLiveType(liveType).setLiveTypeVal(Integer.parseInt(liveTypeVal)));
|
||||||
} else {
|
} else {
|
||||||
if(MicStatusManager.getInstance().isMic(liveUid)){
|
if (MicStatusManager.getInstance().isMic(liveUid)) {
|
||||||
MicStatusManager.getInstance().showDownMicDialog(mContext);
|
MicStatusManager.getInstance().showDownMicDialog(mContext);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user