From b2e249aa51b7001b94c7c123ea7224db878a5e21 Mon Sep 17 00:00:00 2001 From: guoshuyu Date: Thu, 13 Sep 2018 11:24:16 +0800 Subject: [PATCH] add fix me --- .../com/example/gsyvideoplayer/switchplay/SwitchVideo.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/src/main/java/com/example/gsyvideoplayer/switchplay/SwitchVideo.java b/app/src/main/java/com/example/gsyvideoplayer/switchplay/SwitchVideo.java index e571df76d..ec5a56d58 100644 --- a/app/src/main/java/com/example/gsyvideoplayer/switchplay/SwitchVideo.java +++ b/app/src/main/java/com/example/gsyvideoplayer/switchplay/SwitchVideo.java @@ -35,6 +35,9 @@ public void onClick(View v) { if (isInPlayingState()) { SwitchUtil.savePlayState(SwitchVideo.this); getGSYVideoManager().setLastListener(SwitchVideo.this); + //fixme 页面跳转是,元素共享,效果会有一个中间中间控件的存在 + //fixme 这时候中间控件 CURRENT_STATE_PLAYING,会触发 startProgressTimer + //FIXME 但是没有cancel SwitchDetailActivity.startTActivity((Activity) getContext(), SwitchVideo.this); } }