交友小黑屋礼物价格1,酒吧房性别,vap mp4播放声音设置0.04f。
This commit is contained in:
@@ -219,11 +219,11 @@ class RoomPrivateFragment(var mRoomInfoResp: RoomInfoResp?) :
|
||||
// 设置 padding(左、上、右、下)
|
||||
itemImage.setPadding(paddingPx, paddingPx, paddingPx, paddingPx)
|
||||
itemImage.tag = showList[0].gift_id
|
||||
Glide.with(itemImage!!)
|
||||
Glide.with(itemImage)
|
||||
.load(showList[0].base_image)
|
||||
.into(itemImage)
|
||||
itemImage.visibility = View.VISIBLE
|
||||
giftTViewList[idx].visibility = View.INVISIBLE
|
||||
giftTViewList[idx].visibility = View.VISIBLE
|
||||
}
|
||||
|
||||
@SuppressLint("SetTextI18n")
|
||||
|
||||
@@ -30,6 +30,7 @@ class RoomPubWheatView : BaseWheatView {
|
||||
|
||||
private var iv_tag_type: ImageView? = null
|
||||
var iv_custom_gift: ImageView? = null
|
||||
var iv_shutup: ImageView? = null
|
||||
private var hostTv: TextView? = null
|
||||
private var tv_time: TextView? = null
|
||||
private var ll_bottom: LinearLayout? = null
|
||||
@@ -64,6 +65,7 @@ class RoomPubWheatView : BaseWheatView {
|
||||
ivYueT = findViewById(R.id.iv_yue_t)
|
||||
ivLiaoT = findViewById(R.id.iv_liao_t)
|
||||
iv_gift = findViewById(R.id.iv_gift)
|
||||
iv_shutup = findViewById(R.id.iv_shutup)
|
||||
|
||||
}
|
||||
|
||||
@@ -86,6 +88,7 @@ class RoomPubWheatView : BaseWheatView {
|
||||
tv_time?.visibility = View.INVISIBLE
|
||||
ll_bottom?.visibility = View.INVISIBLE
|
||||
iv_custom_gift?.visibility = View.GONE
|
||||
iv_shutup?.visibility = View.GONE
|
||||
}
|
||||
|
||||
"10" -> {
|
||||
@@ -94,12 +97,14 @@ class RoomPubWheatView : BaseWheatView {
|
||||
tv_time?.visibility = View.INVISIBLE
|
||||
ll_bottom?.visibility = View.INVISIBLE
|
||||
iv_custom_gift?.visibility = View.GONE
|
||||
iv_shutup?.visibility = View.GONE
|
||||
}
|
||||
|
||||
else -> {
|
||||
tv_time?.visibility = View.INVISIBLE
|
||||
ll_bottom?.visibility = View.INVISIBLE
|
||||
iv_custom_gift?.visibility = View.GONE
|
||||
iv_shutup?.visibility = View.GONE
|
||||
}
|
||||
}
|
||||
|
||||
@@ -142,6 +147,8 @@ class RoomPubWheatView : BaseWheatView {
|
||||
tv_time?.text = "00:00"
|
||||
}
|
||||
|
||||
iv_shutup?.setImageResource(if (bean.sex == "1") R.mipmap.icon_sex_1 else R.mipmap.icon_sex_0)
|
||||
iv_shutup?.visibility = View.VISIBLE
|
||||
if (TextUtils.isEmpty(bean.dress)) {
|
||||
mIvFrame.stopAll()
|
||||
mIvFrame.visibility = INVISIBLE
|
||||
@@ -153,7 +160,13 @@ class RoomPubWheatView : BaseWheatView {
|
||||
|
||||
private val pitNumberText: String
|
||||
get() {
|
||||
return pitNumber+"号麦"
|
||||
return if (pitNumber == "9") {
|
||||
""
|
||||
} else if (pitNumber == "10") {
|
||||
""
|
||||
}else{
|
||||
pitNumber+"号麦"
|
||||
}
|
||||
}
|
||||
|
||||
private fun handleOffState(bean: RoomPitBean) {
|
||||
@@ -165,6 +178,7 @@ class RoomPubWheatView : BaseWheatView {
|
||||
mIvFrame.stopAll()
|
||||
mIvFrame.visibility = GONE
|
||||
mIvRipple.visibility = GONE
|
||||
iv_shutup?.visibility = View.GONE
|
||||
}
|
||||
|
||||
private fun stopAndClearAnimation() {
|
||||
|
||||
Reference in New Issue
Block a user