Commit 837407fd authored by mengcuiguang's avatar mengcuiguang

代码优化

parent d3d81fda
...@@ -35,6 +35,17 @@ class MusicFragment : LazyLoadBaseFragment() { ...@@ -35,6 +35,17 @@ class MusicFragment : LazyLoadBaseFragment() {
} }
} }
override fun onFragmentResume() {
super.onFragmentResume()
mIDPWidget?.resumeForWatchTogether()
}
override fun onFragmentPause() {
super.onFragmentPause()
mIDPWidget?.pauseForWatchTogether()
}
private fun initDrawWidget() { private fun initDrawWidget() {
mIDPWidget = mIDPWidget =
DPHolder.getInstance().buildDrawWidget(DPWidgetDrawParams.obtain().liveAdCodeId( DPHolder.getInstance().buildDrawWidget(DPWidgetDrawParams.obtain().liveAdCodeId(
......
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