调整直播间UI
This commit is contained in:
parent
e0eea59539
commit
76f94895fe
@ -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();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user