Commit b28350e5 authored by wanglei's avatar wanglei

...

parent 0297469c
......@@ -81,7 +81,9 @@ class DocumentPageFragment() : BaseFragment<FragmentDocumentPageBinding>(), Docu
binding.llEmpty.isVisible = arrayList.isEmpty()
if (arrayList.isEmpty()) {
binding.flAd.visibility = View.VISIBLE
if (AdmobHelper.isShowRvNativeAd()) {
AdmobNativeUtils.showNativeAd(requireActivity(), binding.flAd, R.layout.layout_admob_document)
}
} else {
binding.flAd.visibility = View.GONE
......
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