diff --git a/live/src/main/java/com/yunbao/live/adapter/LiveChatAdapter.java b/live/src/main/java/com/yunbao/live/adapter/LiveChatAdapter.java index 2933ee5b7..1c76f89bf 100644 --- a/live/src/main/java/com/yunbao/live/adapter/LiveChatAdapter.java +++ b/live/src/main/java/com/yunbao/live/adapter/LiveChatAdapter.java @@ -340,17 +340,19 @@ public class LiveChatAdapter extends RecyclerView.Adapter { LiveTextRender.aiAutomaticSpeech(mContext, mTextView, bean.getAiAutomaticSpeechModel()); } else if (bean.getType() == STAR_CHALLENGE_UPGRADE_NOTIFY) { //加载.9图聊天气泡 - if (!TextUtils.isEmpty(bean.getMsgModel().getSystemBubble())){ + if (!TextUtils.isEmpty(bean.getMsgModel().getSystemBubble())) { LoadDian9TuUtil.loadDian9Tu(mContext, mBg, bean.getMsgModel().getSystemBubble(), 1); LiveTextRender.starChallengeUpgradeNotify(mContext, mTextView, bean.getMsgModel()); } - } else if(bean.getType()==LUCKY_ANGEL){ - if(!TextUtils.isEmpty(bean.getMsgModel().getSystem_bubble())){ + } else if (bean.getType() == LUCKY_ANGEL) { + if (!TextUtils.isEmpty(bean.getMsgModel().getSystem_bubble())) { + bean.setId(bean.getMsgModel().getUserId()); + itemView.setTag(bean); LoadDian9TuUtil.loadDian9Tu(mContext, mBg, bean.getMsgModel().getSystem_bubble(), 1); LiveTextRender.luckyAngel(mContext, mTextView, bean.getMsgModel()); } - } else{ + } else { if (bean.getBubble() != null && !bean.getBubble().equals("")) { //加载.9图聊天气泡 LoadDian9TuUtil.loadDian9Tu(mContext, mBg, bean.getBubble(), 1);