Commit ae85ea08 authored by mengcuiguang2's avatar mengcuiguang2

添加gromore广告

parent 1281a00a
......@@ -14,6 +14,7 @@ import androidx.viewpager2.widget.ViewPager2
import com.duben.library.utils.GlideUtils
import com.duben.library.utils.nodoubleclick.AntiShake
import com.duben.heliapp.R
import com.duben.heliapp.ad.banner.BannerManager
import com.duben.heliapp.common.AppConfig
import com.duben.heliapp.common.Constant
import com.duben.heliapp.manager.LocalVedioManager
......@@ -87,6 +88,9 @@ class MainFragment : LazyLoadBaseFragment(), HomeView, View.OnClickListener, OnR
if (AppConfig.fragmentClickFlag == Constant.FRAGMENT_CLICK_ONE) {
if (AntiShake.check(banner?.id)) return
// BannerManager.loadAd(requireActivity(), fl_main_banner)
banner?.start()
setWatchingStatus()
......
......@@ -97,6 +97,15 @@
android:overScrollMode="never" />
</LinearLayout>
<!-- <FrameLayout-->
<!-- android:id="@+id/fl_main_banner"-->
<!-- android:layout_width="match_parent"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:layout_gravity="center_vertical"-->
<!-- android:layout_marginStart="15dp"-->
<!-- android:layout_marginTop="10dp"-->
<!-- android:layout_marginEnd="15dp" />-->
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
......
......@@ -47,8 +47,8 @@ RELEASE_UMENG_KEY=64b8de13a1a164591b5133df
RELEASE_TALKING_DATA_KEY="953575B247E8445090F9823ED5EB6497"
GROMORE_APP_ID="5421234"
GROMORE_SPLASH_CODE="102418768"
GROMORE_APP_ID="5459207"
GROMORE_SPLASH_CODE="102590944"
GROMORE_VIDEO_CODE="102418861"
GROMORE_EXPRESS_CODE="102419307"
GROMORE_MY_EXPRESS_CODE="102418862"
......
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