feat:房间-游戏列表-icon字段调整

This commit is contained in:
max
2024-06-05 20:07:25 +08:00
parent e72423708e
commit 818acaee8f
2 changed files with 2 additions and 1 deletions

View File

@@ -13,6 +13,6 @@ class RoomGameListAdapter :
override fun convert(helper: BaseViewHolder, item: GameInfo?) {
helper.setText(R.id.tv_name, item?.name)
val iconView = helper.getView<ImageView>(R.id.iv_icon)
iconView.load(item?.pic)
iconView.load(item?.pic2)
}
}

View File

@@ -7,6 +7,7 @@ data class GameInfo(
val mgId: String = "",
var name: String = "",
val pic: String = "",
val pic2: String? = null,
val remark: String = "",
val seq: Int = 0,
var isSelect: Boolean = false,