diff --git a/modules/mogo-module-tanlu/src/main/java/com/mogo/module/tanlu/fragment/TanluCardViewFragment.java b/modules/mogo-module-tanlu/src/main/java/com/mogo/module/tanlu/fragment/TanluCardViewFragment.java index ac8f087749..0ce83ed42f 100644 --- a/modules/mogo-module-tanlu/src/main/java/com/mogo/module/tanlu/fragment/TanluCardViewFragment.java +++ b/modules/mogo-module-tanlu/src/main/java/com/mogo/module/tanlu/fragment/TanluCardViewFragment.java @@ -94,6 +94,7 @@ import com.mogo.service.module.IMogoRegisterCenter; import com.mogo.service.statusmanager.IMogoStatusManager; import com.mogo.utils.TipToast; import com.mogo.utils.logger.Logger; +import com.shuyu.gsyvideoplayer.GSYVideoManager; import com.shuyu.gsyvideoplayer.builder.GSYVideoOptionBuilder; import org.greenrobot.eventbus.EventBus; @@ -675,7 +676,7 @@ import static com.mogo.module.tanlu.video.VideoInitKt.initVideo; .build(simpleCoverVideoPlayer); simpleCoverVideoPlayer.getStartButton().performClick(); traceVideoPlayStatusData(); - + Log.d(TAG, "videoUrl = " + videoUrl); if (mImageUrl == null) { return; } @@ -714,12 +715,10 @@ import static com.mogo.module.tanlu.video.VideoInitKt.initVideo; mogoImageloader.downloadImage(getActivity(), thumbnailUrl, new IMogoImageLoaderListener() { @Override public void onStart() { - Log.d(TAG, "onStart ------>"); } @Override public void onCompleted(Bitmap bitmap) { - Log.d(TAG, "onCompleted ------>bitmap = " + bitmap); autoZoomInImageView.setImageBitmap(bitmap); //动画 // handleImageAnimation(); @@ -927,6 +926,8 @@ import static com.mogo.module.tanlu.video.VideoInitKt.initVideo; TanluServiceHandler.getLocationClient().removeLocationListener(this); mMogoRegisterCenter.unregisterMogoNaviListener(TanluConstants.MODEL_NAME); mogoIntentManager.unregisterIntentListener(MogoReceiver.ACTIION_ADAS); + Log.e(TAG, "onDestroyView --------> "); + GSYVideoManager.releaseAllVideos(); } /**