From 812061a601d336776697c26b86b74df639e708b2 Mon Sep 17 00:00:00 2001 From: max Date: Fri, 17 May 2024 11:10:19 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E5=8E=BB=E6=8E=89=E8=80=81?= =?UTF-8?q?=E6=9D=BF=E4=BD=8D=E7=9A=84=E7=89=B9=E6=AE=8AUI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../app/avroom/adapter/MicroViewAdapter.java | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/app/src/main/java/com/chwl/app/avroom/adapter/MicroViewAdapter.java b/app/src/main/java/com/chwl/app/avroom/adapter/MicroViewAdapter.java index 0642612c2..66126b4b9 100644 --- a/app/src/main/java/com/chwl/app/avroom/adapter/MicroViewAdapter.java +++ b/app/src/main/java/com/chwl/app/avroom/adapter/MicroViewAdapter.java @@ -91,27 +91,27 @@ public class MicroViewAdapter extends BaseMicroViewAdapter { @Override public void bind(RoomQueueInfo info, int position) { super.bind(info, position); - if (position == 7) { - ivUpImage.setImageResource(R.drawable.icon_room_up_micro_vip); - } else { +// if (position == 7) { +// ivUpImage.setImageResource(R.drawable.icon_room_up_micro_vip); +// } else { ivUpImage.setImageResource(R.drawable.icon_room_up_micro); - } +// } } @SuppressLint("SetTextI18n") @Override public void setDefalutText(int index) { - if (index == 7) { - tvNick.setTextColor(Color.WHITE); - tvNick.setText(ResUtil.getString(R.string.avroom_adapter_microviewadapter_01)); - if (tvNumber != null) { - tvNumber.setBackgroundResource(R.drawable.shape_micro_vip); - tvNumber.setTextColor(Color.WHITE); - tvNumber.setText(String.valueOf((index + 1))); - } - } else { +// if (index == 7) { +// tvNick.setTextColor(Color.WHITE); +// tvNick.setText(ResUtil.getString(R.string.avroom_adapter_microviewadapter_01)); +// if (tvNumber != null) { +// tvNumber.setBackgroundResource(R.drawable.shape_micro_vip); +// tvNumber.setTextColor(Color.WHITE); +// tvNumber.setText(String.valueOf((index + 1))); +// } +// } else { super.setDefalutText(index); - } +// } } } }