From 36bc30bdfea6e604a517267e9cabe57b51c322ea Mon Sep 17 00:00:00 2001 From: liugl <liugl@sinata.cn> Date: 星期二, 19 一月 2021 15:27:41 +0800 Subject: [PATCH] 1。4:处理预约单导致串单的问题 隐藏预约单 --- app/src/main/java/com/okgoincar/slab/event/SlabHistoryEventAdapter.kt | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/app/src/main/java/com/okgoincar/slab/event/SlabHistoryEventAdapter.kt b/app/src/main/java/com/okgoincar/slab/event/SlabHistoryEventAdapter.kt index 2927060..b3abb8a 100644 --- a/app/src/main/java/com/okgoincar/slab/event/SlabHistoryEventAdapter.kt +++ b/app/src/main/java/com/okgoincar/slab/event/SlabHistoryEventAdapter.kt @@ -30,8 +30,11 @@ private fun setblack(itemView: View, nowTimeBlack: Boolean) { if (nowTimeBlack){ + itemView.tv_time.textColor(context,R.color.write) + itemView.rl_main.setBackgroundResource(R.color.slab_gray) }else{ - + itemView.tv_time.textColor(context,R.color.black) + itemView.rl_main.setBackgroundResource(R.color.B8B8) } } -- Gitblit v1.7.1