调整直播间UI

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

View File

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