Commit 77744e74 authored by mengcuiguang's avatar mengcuiguang

代码优化

parent 3ff4e0a4
......@@ -166,6 +166,9 @@ public class InterstitialGroManager {
vo.put("adid", interstitialId);
TrackManager.getInstance().cmtGroMoreInfo(vo);
} else {
if (this.wifiAdStatusListener != null) {
this.wifiAdStatusListener.adFail();
}
// 当加载到广告后 ,长时间未展示失效时 改变状态
isLoadSuccess = false;
}
......
......@@ -98,7 +98,7 @@ class WifiAdManager private constructor() {
interstitialGroManager?.onDestroy()
}
interstitialGroManager = InterstitialGroManager()
interstitialGroManager?.setWifiAdStatusListener(wifiAdStatusListener)
// interstitialGroManager?.setWifiAdStatusListener(wifiAdStatusListener)
interstitialGroManager?.loadInsertScreenAd(activity, isMain)
}
......@@ -110,7 +110,7 @@ class WifiAdManager private constructor() {
fullGroManager?.onDestroy()
}
fullGroManager = FullGroManager()
fullGroManager?.setWifiAdStatusListener(wifiAdStatusListener)
// fullGroManager?.setWifiAdStatusListener(wifiAdStatusListener)
fullGroManager?.loadFullAd(activity, isMain)
}
......
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