//package com.base.appzxhy.ui.guide
//
//import android.annotation.SuppressLint
//import android.content.Intent
//import com.base.appzxhy.R
//import com.base.appzxhy.base.Peteric
//import com.base.appzxhy.business.ads.Unwindic
//import com.base.appzxhy.databinding.FragmentGuideBinding
//import com.base.appzxhy.ui.main.Hauntingic
//
//
//class Amazementic : Peteric<FragmentGuideBinding>(FragmentGuideBinding::inflate) {
//    var page: Int = 1
//
//
//    @SuppressLint("SetTextI18n")
//    override fun initView() {
//        super.initView()
//        when (page) {
//            0 -> {
//                binding.ladleic.setImageResource(R.drawable.chahua04)
//                binding.shouldic.setImageResource(R.drawable.icon1)
//                binding.spadesic.text = "Clean up clutter to unlock more space and\n" +
//                        "keep your phone running smoothly."
//            }
//
//            1 -> {
//                binding.ladleic.setImageResource(R.drawable.chahua03)
//                binding.shouldic.setImageResource(R.drawable.icon2)
//                binding.spadesic.text = "Quickly clear junk files and free up valuable\n" +
//                        "storage with just a few taps."
//            }
//
//            3 -> {
//                binding.ladleic.setImageResource(R.drawable.chahua01)
//                binding.shouldic.setImageResource(R.drawable.icon4)
//                binding.spadesic.text = "Clean photos,videos,and audio files to\n" +
//                        "save space and keep your phone tidy."
//                binding.dressic.text = "Start"
//            }
//        }
//
//    }
//
//    override fun initListener() {
//        super.initListener()
//        binding.seafoodic.setOnClickListener {
//            val activity = requireActivity() as Onlyic?
//            activity?.startActivity(Intent(activity, Hauntingic::class.java))
//            activity?.finish()
//        }
//        binding.dressic.setOnClickListener {
//            val activity = requireActivity() as Onlyic?
//            activity ?: requireActivity()
//            activity?.next(page)
//        }
//    }
//
//    override fun onResume() {
//        super.onResume()
//
//        if (!binding.protectic.isAdShowed) {
//            Unwindic.showNative(binding.protectic, R.layout.explanatoryic)
//        }
//    }
//
//}
