feat:去掉老板位的特殊UI
This commit is contained in:
@@ -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);
|
||||
}
|
||||
// }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user