Commit 4aa48f79 authored by mengcuiguang's avatar mengcuiguang

代码优化

parent 78687f7c
......@@ -9,6 +9,8 @@ public class VedioBean implements Serializable {
private int createType;//类型,1,自有剧,2 穿山甲
private String title;
private String type;
private String typeImg;
private String topTabsReamrk;
private ArrayList<String> orderTags;//标签
private int vedioTotal;//同穿山甲 total
......@@ -225,4 +227,12 @@ public class VedioBean implements Serializable {
public void String(String hot) {
this.hot = hot;
}
public String getTypeImg() {
return typeImg;
}
public void setTypeImg(String typeImg) {
this.typeImg = typeImg;
}
}
......@@ -248,7 +248,7 @@ class MainFragment : LazyLoadBaseFragment(), HomeView, View.OnClickListener, OnR
for (i in 0 until data.list.size) {
val bean = BannerBean()
bean.title = data.list.get(i).topTabsReamrk
bean.imageRes = data.list.get(i).coverImage
bean.imageRes = data.list.get(i).typeImg
bannerList.add(bean)
}
......
......@@ -187,7 +187,6 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:text="重生 虐恋"
android:singleLine="true"
android:layout_marginBottom="2dp"
android:textColor="@color/white"
......@@ -197,7 +196,6 @@
android:id="@+id/tv_main_watching_text2"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="重生 虐恋"
android:singleLine="true"
android:textColor="@color/graya"
android:textSize="10sp" />
......
......@@ -51,7 +51,6 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:singleLine="true"
android:text="重生 虐恋"
android:textColor="@color/gray"
android:textSize="12sp" />
......
......@@ -64,7 +64,6 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:singleLine="true"
android:text="重生 虐恋"
android:textColor="@color/gray"
android:textSize="12sp" />
......
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