Commit be592e8d authored by mengcuiguang's avatar mengcuiguang

代码优化

parent 65e70ff2
...@@ -57,7 +57,7 @@ object SplashManager { ...@@ -57,7 +57,7 @@ object SplashManager {
) )
.setMediationAdSlot( .setMediationAdSlot(
MediationAdSlot.Builder() MediationAdSlot.Builder()
.setMediationSplashRequestInfo(pangleSplashBottom) // .setMediationSplashRequestInfo(pangleSplashBottom)
.build() .build()
) )
.build() .build()
...@@ -95,47 +95,6 @@ object SplashManager { ...@@ -95,47 +95,6 @@ object SplashManager {
LogUtil.d(TAG, "gromore 开屏广告--> 准备调用show") LogUtil.d(TAG, "gromore 开屏广告--> 准备调用show")
mTTSplashAd?.let { mTTSplashAd?.let {
it.setSplashInteractionListener(adInteractionListener) it.setSplashInteractionListener(adInteractionListener)
// it.setSplashClickEyeListener(object: ISplashClickEyeListener {
// override fun onSplashClickEyeAnimationStart() {
// }
//
// override fun onSplashClickEyeAnimationFinish() {
// }
//
// override fun isSupportSplashClickEye(isSupport: Boolean): Boolean {
// var dp = it.splashClickEyeSizeToDp
//
// // 点睛相关处理
// val minWindowSizeFromSdk: IntArray = it.getSplashClickEyeSizeToDp()
// val flContent=it.splashView
// val params: ViewGroup.LayoutParams = flContent.getLayoutParams() as ViewGroup.LayoutParams
// params.height = UIUtils.dp2px(activity, minWindowSizeFromSdk[1].toFloat())
// params.width = UIUtils.dp2px(activity, minWindowSizeFromSdk[0].toFloat())
// flContent.setLayoutParams(params)
// flContent.setBackgroundResource(R.color.common_half_alpha)
// flContent.translationX = 200f
// flContent.translationY = 200f
// it.splashClickEyeAnimationFinish()
// return false
// }
// })
// it.setSplashCardListener(object : ISplashCardListener {
// override fun onSplashEyeReady() {
// it.splashClickEyeAnimationFinish()
// }
//
// override fun onSplashClickEyeClose() {
// adStatusListener?.adClose(null)
// }
//
// override fun setSupportSplashClickEye(isSupport: Boolean) {
// }
//
// override fun getActivity(): Activity {
// return activity
// }
//
// })
view.addView(it.splashView) view.addView(it.splashView)
} }
} else { } else {
......
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