Commit 1b1cf3da authored by mengcuiguang2's avatar mengcuiguang2

代码优化

parent 7a7f546e
......@@ -241,7 +241,7 @@ class TurnTableFragment : BaseFragment(), TurnTableView, AdapterView.OnItemClick
onDestroyBroadcastReceiver()
onDestoryTimer()
turnTableView?.stopAnim()
PreCsjGroMoreVideoAdManager.getInstance().setVideoAdStatusListener(null)
mainTurnAdapter?.setOnItemChildClickListener(null)
mainTurnAdapter = null
......@@ -565,7 +565,7 @@ class TurnTableFragment : BaseFragment(), TurnTableView, AdapterView.OnItemClick
carrierType = Constant.CARRIER_CHALLENGE_TURN
if (AppConfig.isVideoSleep) {
turnTableView.stopAnim()
turnTableView?.stopAnim()
showToast("看视频太快了,休息一下再试吧!")
return
}
......@@ -576,11 +576,11 @@ class TurnTableFragment : BaseFragment(), TurnTableView, AdapterView.OnItemClick
.setVideoAdStatusListener(object : VideoAdStatusListener {
override fun adFail() {
isTurnTable = true
turnTableView.stopAnim()
turnTableView?.stopAnim()
}
override fun adSuccess() {
turnTableView.stopAnim()
turnTableView?.stopAnim()
videoAdingSuccess(Constant.GROMORE_VEDIO_AD)
}
......
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