Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
android_vedio
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
android
android_vedio
Commits
4aa48f79
Commit
4aa48f79
authored
Jul 14, 2023
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
78687f7c
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
5 deletions
+11
-5
VedioBean.java
.../main/java/com/mints/wisdomclean/mvp/model/VedioBean.java
+10
-0
MainFragment.kt
...in/java/com/mints/wisdomclean/ui/fragment/MainFragment.kt
+1
-1
fragment_main.xml
video/app/src/main/res/layout/fragment_main.xml
+0
-2
item_hot_style.xml
video/app/src/main/res/layout/item_hot_style.xml
+0
-1
item_rv_top.xml
video/app/src/main/res/layout/item_rv_top.xml
+0
-1
No files found.
video/app/src/main/java/com/mints/wisdomclean/mvp/model/VedioBean.java
View file @
4aa48f79
...
...
@@ -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
;
}
}
video/app/src/main/java/com/mints/wisdomclean/ui/fragment/MainFragment.kt
View file @
4aa48f79
...
...
@@ -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
)
}
...
...
video/app/src/main/res/layout/fragment_main.xml
View file @
4aa48f79
...
...
@@ -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"
/>
...
...
video/app/src/main/res/layout/item_hot_style.xml
View file @
4aa48f79
...
...
@@ -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"
/>
...
...
video/app/src/main/res/layout/item_rv_top.xml
View file @
4aa48f79
...
...
@@ -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"
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment