Commit 96a0471c by 万齐军

Merge branch 'feat/qj/confide2' into 'd/v_confide_2.0'

卡顿处理

See merge request app_android_lib/YDL-Component!99
parents 143a5d99 b7e127a6
...@@ -52,6 +52,7 @@ internal class ItemIntroHolder(binding: ItemExpertIntroBinding) : ...@@ -52,6 +52,7 @@ internal class ItemIntroHolder(binding: ItemExpertIntroBinding) :
fun onDetach() { fun onDetach() {
stopTiming() stopTiming()
video?.release(true) video?.release(true)
binding.videoView.removeAllViews()
} }
fun onBind(item: VideoViewModel) { fun onBind(item: VideoViewModel) {
......
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