11111
This commit is contained in:
parent
805ca91637
commit
6949dea8c9
@ -55,7 +55,7 @@ public class SystemChatMessageAdapter extends RecyclerView.Adapter {
|
|||||||
SystemChatMessageViewHolder messageViewHolder = (SystemChatMessageViewHolder) holder;
|
SystemChatMessageViewHolder messageViewHolder = (SystemChatMessageViewHolder) holder;
|
||||||
ImgLoader.displayWithError(mContext, model.getImage(), messageViewHolder.avatarImage, com.yunbao.live.R.mipmap.chat_head_mo);
|
ImgLoader.displayWithError(mContext, model.getImage(), messageViewHolder.avatarImage, com.yunbao.live.R.mipmap.chat_head_mo);
|
||||||
if (position == 2) {
|
if (position == 2) {
|
||||||
messageViewHolder.userMsg.setText(TextUtils.isEmpty(model.getLink()) ? mContext.getResources().getString(R.string.chat_like) : model.getLink());
|
messageViewHolder.userMsg.setText(TextUtils.isEmpty(model.getContent()) ? mContext.getResources().getString(R.string.chat_like) : model.getContent());
|
||||||
} else {
|
} else {
|
||||||
if (position == 1) {
|
if (position == 1) {
|
||||||
messageViewHolder.userMsg.setText(TextUtils.isEmpty(model.getContent()) ? mContext.getResources().getString(R.string.chat_action_no) : model.getContent());
|
messageViewHolder.userMsg.setText(TextUtils.isEmpty(model.getContent()) ? mContext.getResources().getString(R.string.chat_action_no) : model.getContent());
|
||||||
|
Loading…
Reference in New Issue
Block a user