提交 80d982e7 编写于 作者: G guoshuyu

change demo

上级 31fd19b0
......@@ -6,6 +6,7 @@ import android.util.AttributeSet;
import android.view.Surface;
import android.view.View;
import android.widget.ImageView;
import android.widget.SeekBar;
import com.bumptech.glide.Glide;
import com.bumptech.glide.request.RequestOptions;
......@@ -144,8 +145,10 @@ public class SampleCoverVideo extends StandardGSYVideoPlayer {
protected void changeUiToPlayingBufferingShow() {
super.changeUiToPlayingBufferingShow();
Debuger.printfLog("Sample changeUiToPlayingBufferingShow");
setViewShowState(mBottomContainer, INVISIBLE);
setViewShowState(mStartButton, INVISIBLE);
if (!byStartedClick) {
setViewShowState(mBottomContainer, INVISIBLE);
setViewShowState(mStartButton, INVISIBLE);
}
}
@Override
......@@ -165,4 +168,10 @@ public class SampleCoverVideo extends StandardGSYVideoPlayer {
setViewShowState(mBottomContainer, INVISIBLE);
setViewShowState(mStartButton, INVISIBLE);
}
@Override
public void onStartTrackingTouch(SeekBar seekBar) {
byStartedClick = true;
super.onStartTrackingTouch(seekBar);
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册