调整直播间UI

This commit is contained in:
zlzw 2023-04-10 11:14:53 +08:00
parent e0eea59539
commit 76f94895fe

View File

@ -200,14 +200,18 @@ public class LiveAnchorEditCallMeAdapter extends RecyclerView.Adapter<LiveAnchor
if (StringUtil.isEmpty(bean)) {
letter.setText(R.string.live_anchor_edit_call_me_letter_content);
letter.setTextColor(Color.parseColor("#80FFFFFF"));
if (onItemClickListener != null) {
onItemClickListener.onItemClick(new TmpData("", 1, TYPE_LETTER), getAbsoluteAdapterPosition());
}
} else {
letter.setText(bean);
letter.setTextColor(Color.WHITE);
list.get(1).setValue(bean);
if (onItemClickListener != null) {
onItemClickListener.onItemClick(new TmpData(letter.getText().toString(), 1, TYPE_LETTER), getAbsoluteAdapterPosition());
}
}
if (onItemClickListener != null) {
onItemClickListener.onItemClick(new TmpData(letter.getText().toString(), 1, TYPE_LETTER), getAbsoluteAdapterPosition());
}
}
}).showDialog();
});