1:修改酒吧房弹框接口调用
2:修改直播间送礼接口
This commit is contained in:
@@ -12,6 +12,7 @@ import android.widget.TextView
|
||||
import com.xscm.modulemain.R
|
||||
import com.xscm.moduleutil.bean.room.RoomPitBean
|
||||
import com.xscm.moduleutil.utils.ImageUtils
|
||||
import com.xscm.moduleutil.widget.AvatarFrameView
|
||||
import com.xscm.moduleutil.widget.BaseWheatView
|
||||
|
||||
class RoomPubWheatView : BaseWheatView {
|
||||
@@ -32,7 +33,7 @@ class RoomPubWheatView : BaseWheatView {
|
||||
private var hostTv: TextView? = null
|
||||
private var tv_time: TextView? = null
|
||||
private var ll_bottom: LinearLayout? = null
|
||||
|
||||
private var iv_gift: AvatarFrameView? = null
|
||||
var ivYueT: ImageView? = null
|
||||
var ivLiaoT: ImageView? = null
|
||||
|
||||
@@ -61,6 +62,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)
|
||||
|
||||
}
|
||||
|
||||
@@ -117,7 +119,10 @@ class RoomPubWheatView : BaseWheatView {
|
||||
fun setSex(value: String?, format: Boolean) {
|
||||
mCharmView.setSex("", "", value, format)
|
||||
}
|
||||
|
||||
fun setPitGift(giftPlayString: String){
|
||||
iv_gift?.visibility=VISIBLE
|
||||
iv_gift?.setSource(giftPlayString, 2)
|
||||
}
|
||||
|
||||
private fun handleOnState(bean: RoomPitBean) {
|
||||
mIvRipple.visibility = VISIBLE
|
||||
|
||||
Reference in New Issue
Block a user