Commit f37b9415 authored by jyx's avatar jyx

优化样式

parent aae34a3e
......@@ -86,17 +86,13 @@ class TxVideoAdapter : BaseMultiItemQuickAdapter<VideoMultiItemEntity, BaseViewH
vedioBean?.let {
if (it.isRecommendVedio) {
adBtn.visibility = View.GONE
} else {
adBtn.visibility = View.VISIBLE
}
}
vedioBean?.let {
if (it.isRecommendVedio) {
holder.getView<TextView>(R.id.tv_info).visibility = View.GONE
vipBtn.setBackgroundResource(R.mipmap.bg_detail_bottom_vip)
holder.getView<TextView>(R.id.tv_title).text =
String.format("解锁%s·全集", it.title)
holder.getView<TextView>(R.id.tv_info).text = String.format("0.01元解锁全部短剧")
} else {
adBtn.visibility = View.VISIBLE
holder.getView<TextView>(R.id.tv_title).text = String.format(
"解锁%s·第%d-%d集",
it.title,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment