心动空间 优化帮助。
This commit is contained in:
@@ -31,13 +31,13 @@ class ItemCpHeartAdapter(
|
||||
|
||||
val cid = if (userId == item.from_user_id) {
|
||||
tv.setTextColor(context.getColor(R.color.ffff53cc))
|
||||
R.color.ffff53cc
|
||||
R.color.ff4a89ff
|
||||
} else {
|
||||
tv.setTextColor(context.getColor(R.color.ff4a89ff))
|
||||
R.color.ff4a89ff
|
||||
R.color.ffff53cc
|
||||
}
|
||||
if (item.remark.contains(userId.toString())) {
|
||||
val builder = getContentColor(item.from_user_info.nickname, item.remark, cid)
|
||||
if (item.remark.contains(item.to_user_info.nickname)) {
|
||||
val builder = getContentColor(item.to_user_info.nickname, item.remark, cid)
|
||||
helper.setText(R.id.tv_content, builder)
|
||||
} else {
|
||||
helper.setText(R.id.tv_content, item.remark)
|
||||
|
||||
Reference in New Issue
Block a user