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
b0c526b3
Commit
b0c526b3
authored
Jul 19, 2023
by
jyx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复看完广告不自动播放问题
parent
63637869
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
SuperShortVideoView.java
...ava/com/xinfu/helivideo/video/tx/SuperShortVideoView.java
+2
-1
No files found.
video/app/src/main/java/com/xinfu/helivideo/video/tx/SuperShortVideoView.java
View file @
b0c526b3
...
...
@@ -15,6 +15,7 @@ import androidx.recyclerview.widget.RecyclerView;
import
com.xinfu.helivideo.R
;
import
com.xinfu.helivideo.mvp.model.VedioBean
;
import
com.xinfu.helivideo.mvp.model.VideoMultiItemEntity
;
import
com.xinfu.helivideo.utils.LogUtil
;
import
com.xinfu.helivideo.video.tx.adapter.TxVideoAdapter
;
import
java.util.ArrayList
;
...
...
@@ -56,6 +57,7 @@ public class SuperShortVideoView extends RelativeLayout {
public
void
loadMoreData
(
List
<
VideoMultiItemEntity
>
list
)
{
this
.
mList
=
list
;
this
.
mUrlList
.
clear
();
List
<
VideoModel
>
videoList
=
new
ArrayList
();
for
(
int
i
=
0
;
i
<
list
.
size
();
i
++)
{
if
(
list
.
get
(
i
).
getItemType
()
==
VideoMultiItemEntity
.
MULTI_ITEM_1
)
{
...
...
@@ -143,7 +145,6 @@ public class SuperShortVideoView extends RelativeLayout {
if
(
mOnPageChangeListener
!=
null
)
mOnPageChangeListener
.
onPageChange
(
position
);
if
(
position
==
mUrlList
.
size
())
{
mLastPositionInIDLE
=
position
;
if
(
mBaseItemView
!=
null
)
{
mBaseItemView
.
stopForPlaying
();
}
...
...
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