Commit b0c526b3 authored by jyx's avatar jyx

修复看完广告不自动播放问题

parent 63637869
......@@ -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();
}
......
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