//package com.base.appzxhy.ui.guide2
//
//import android.os.Bundle
//import android.util.Log
//import androidx.activity.addCallback
//import com.base.appzxhy.MyApplication
//import com.base.appzxhy.base.BaseActivity
//import com.base.appzxhy.business.ads.AdsMgr
//import com.base.appzxhy.business.ads.AdsShowCallBack
//import com.base.appzxhy.databinding.ActivityGuideInfoBinding
//import com.base.appzxhy.utils.ActivityManagerUtils
//
///**
// *Create by SleepDog on 2025-06-26
// */
//class Guide2Ac : BaseActivity<ActivityGuideInfoBinding>(ActivityGuideInfoBinding::inflate) {
//    override fun onCreate(savedInstanceState: Bundle?) {
//        super.onCreate(savedInstanceState)
//        onBackPressedDispatcher.addCallback {
//
//        }
//        Log.e("tttttttttttttttttt", "AdStart")
//
//        AdsMgr.initPangle(MyApplication.appContext) {
//            runOnUiThread {
//                if (it) AdsMgr.showInsert(this, showCallBack = object : AdsShowCallBack() {
//                    override fun next() {
//                        Log.e("tttttttttttttttttt", "adFinish")
//                        finish()
//                        if (!ActivityManagerUtils.getInstance()
//                                .isActivityInStack(GuideAc::class.java)
//                        ) goToAc(GuideAc::class.java)
//                    }
//                })
//                else {
//                    finish()
//                    if (!ActivityManagerUtils.getInstance().isActivityInStack(GuideAc::class.java)
//                    ) goToAc(GuideAc::class.java)
//                }
//            }
//        }
//    }
//}