Commit 317ac355 authored by mengcuiguang2's avatar mengcuiguang2

add pro

parent 428152f5
......@@ -50,7 +50,7 @@ class NewHotStyleAdapter :
holder.getView<View>(R.id.item1).visibility = View.VISIBLE
holder.getView<View>(R.id.item1)
.findViewById<TextView>(R.id.tvVedioItemCount)
.text = "${if (it[0].completeStatus == 0) "已完结" else "更新至${it[0].vedioTotal}"}"
.text = "全${it[0].vedioTotal}集"
holder.getView<View>(R.id.item1)
.findViewById<TextView>(R.id.tvVedioItemTitle)
.text = "${it[0].title}"
......@@ -78,7 +78,7 @@ class NewHotStyleAdapter :
holder.getView<View>(R.id.item2).visibility = View.VISIBLE
holder.getView<View>(R.id.item2)
.findViewById<TextView>(R.id.tvVedioItemCount)
.text = "${if (it[1].completeStatus == 0) "已完结" else "更新至${it[1].vedioTotal}"}"
.text = "全${it[1].vedioTotal}集"
holder.getView<View>(R.id.item2)
.findViewById<TextView>(R.id.tvVedioItemTitle)
.text = "${it[1].title}"
......
......@@ -3,6 +3,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:background="@drawable/shape_banner_write"
android:paddingLeft="5dp"
android:paddingRight="5dp">
......@@ -13,7 +14,7 @@
<ImageView
android:id="@+id/ivVedioItem"
android:layout_width="match_parent"
android:layout_height="150dp"
android:layout_height="180dp"
android:minWidth="106dp"
android:scaleType="fitXY" />
......@@ -30,6 +31,7 @@
android:drawableLeft="@mipmap/ic_index_play"
android:paddingLeft="6dp"
android:paddingTop="2dp"
android:gravity="center"
android:paddingRight="8dp"
android:paddingBottom="2dp"
android:text="143.2万"
......@@ -60,6 +62,7 @@
android:layout_marginTop="4dp"
android:singleLine="true"
android:text="我去平行时空"
android:layout_marginBottom="6dp"
android:textColor="@color/black"
android:textSize="13sp" />
......
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