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
1b93e86e
Commit
1b93e86e
authored
Jul 20, 2023
by
jyx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
35428122
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
9 deletions
+4
-9
TxVideoFragment.kt
...main/java/com/xinfu/helivideo/video/tx/TxVideoFragment.kt
+4
-9
No files found.
video/app/src/main/java/com/xinfu/helivideo/video/tx/TxVideoFragment.kt
View file @
1b93e86e
...
...
@@ -122,18 +122,13 @@ class TxVideoFragment : BaseFragment(), RecommendView {
}
override
fun
autoListSuc
(
list
:
BannerList
)
{
val
list1
=
arrayListOf
<
VedioBean
>()
for
(
i
in
0
..
2
)
{
list1
.
add
(
list
.
list
[
i
])
}
if
(
recommendPage
==
1
)
{
videos
.
clear
()
videos
.
addAll
(
list
1
)
recommend_view
.
loadData
(
list
1
)
videos
.
addAll
(
list
.
list
)
recommend_view
.
loadData
(
list
.
list
)
}
else
{
videos
.
addAll
(
list
1
)
recommend_view
.
loadMoreData
(
list
1
)
videos
.
addAll
(
list
.
list
)
recommend_view
.
loadMoreData
(
list
.
list
)
recommend_view
.
hideLoadMore
()
}
}
...
...
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