feat:房间-游戏列表-icon字段调整
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
@@ -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,
|
||||
|
Reference in New Issue
Block a user