弹窗整合

This commit is contained in:
18401019693 2023-12-15 17:01:35 +08:00
parent 0dc1009661
commit f10657f89c

View File

@ -318,7 +318,7 @@ public class LiveChatAdapter extends RecyclerView.Adapter {
int length2 = builder.length(); int length2 = builder.length();
builder.append(bean.getAnchorName()); builder.append(bean.getAnchorName());
builder.setSpan(new ForegroundColorSpan(0xFF73FFFF), length2, length2 + bean.getAnchorName().length(), Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); builder.setSpan(new ForegroundColorSpan(0xFF73FFFF), length2, length2 + bean.getAnchorName().length(), Spannable.SPAN_EXCLUSIVE_EXCLUSIVE);
builder.append(WordUtil.isNewZh() ? "發出了 " : "Sent out " + bean.getContent()); builder.append(WordUtil.isNewZh() ? "發出了 " + bean.getContent(): "Sent out " + bean.getContent());
mTextView.setText(builder); mTextView.setText(builder);
} else if (bean.getType() == -4) { } else if (bean.getType() == -4) {
String str1 = WordUtil.isNewZh() ? "成功拯救了 " : "Succeeded in saving"; String str1 = WordUtil.isNewZh() ? "成功拯救了 " : "Succeeded in saving";