Commit d1034bae authored by wanglei's avatar wanglei

...

parent bbb17d91
......@@ -68,6 +68,11 @@ class ExcelActivity : BaseActivity<ActivityExcelBinding>() {
AdmobNativeUtils.showNativeAd(this, binding.flAd, R.layout.layout_admob_document_in)
}
override fun onDestroy() {
super.onDestroy()
binding.mDocView.onDestroy()
}
@SuppressLint("ClickableViewAccessibility")
override fun initListener() {
super.initListener()
......@@ -97,7 +102,6 @@ class ExcelActivity : BaseActivity<ActivityExcelBinding>() {
binding.ivMore.setOnClickListener {
showDocumentMore(excelDocumentBean)
}
binding.mDocView.singleTapAction = {
LogEx.logDebug(TAG, "actionDownCallBack")
if (isShowTopLayout) {
......
......@@ -84,6 +84,11 @@ class PptActivity : BaseActivity<ActivityPptBinding>() {
AdmobNativeUtils.showNativeAd(this, binding.flAd, R.layout.layout_admob_document_in)
}
override fun onDestroy() {
super.onDestroy()
binding.mDocView.onDestroy()
}
override fun initListener() {
super.initListener()
onBackPressedDispatcher.addCallback {
......
......@@ -343,6 +343,7 @@ class WordActivity : BaseActivity<ActivityWordBinding>() {
override fun onDestroy() {
super.onDestroy()
binding.mDocView.onDestroy()
}
}
\ No newline at end of file
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