提交 3f33b204 编写于 作者: S shuyu

update ad list

上级 a756356d
package com.example.gsyvideoplayer.video;
import android.content.Context;
import android.util.AttributeSet;
import com.shuyu.gsyvideoplayer.video.GSYADVideoPlayer;
public class ListADVideoPlayer extends GSYADVideoPlayer {
public ListADVideoPlayer(Context context, Boolean fullFlag) {
super(context, fullFlag);
}
public ListADVideoPlayer(Context context) {
super(context);
}
public ListADVideoPlayer(Context context, AttributeSet attrs) {
super(context, attrs);
}
@Override
protected void startPrepare() {
if (getGSYVideoManager().listener() != null) {
getGSYVideoManager().listener().onAutoCompletion();
}
super.startPrepare();
}
@Override
public void onCompletion() {
super.onCompletion();
}
}
......@@ -9,7 +9,7 @@
android:layout_height="@dimen/post_media_height" />
<com.shuyu.gsyvideoplayer.video.GSYADVideoPlayer
<com.example.gsyvideoplayer.video.ListADVideoPlayer
android:id="@+id/video_ad_player"
android:layout_width="match_parent"
android:layout_height="@dimen/post_media_height"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册