Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
android_vedio
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
android
android_vedio
Commits
ae85ea08
Commit
ae85ea08
authored
Dec 28, 2023
by
mengcuiguang2
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加gromore广告
parent
1281a00a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
2 deletions
+15
-2
MainFragment.kt
...c/main/java/com/duben/heliapp/ui/fragment/MainFragment.kt
+4
-0
fragment_main.xml
video/app/src/main/res/layout/fragment_main.xml
+9
-0
gradle.properties
video/gradle.properties
+2
-2
No files found.
video/app/src/main/java/com/duben/heliapp/ui/fragment/MainFragment.kt
View file @
ae85ea08
...
...
@@ -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
()
...
...
video/app/src/main/res/layout/fragment_main.xml
View file @
ae85ea08
...
...
@@ -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"
...
...
video/gradle.properties
View file @
ae85ea08
...
...
@@ -47,8 +47,8 @@ RELEASE_UMENG_KEY=64b8de13a1a164591b5133df
RELEASE_TALKING_DATA_KEY
=
"953575B247E8445090F9823ED5EB6497"
GROMORE_APP_ID="54
21234
"
GROMORE_SPLASH_CODE
=
"102
418768
"
GROMORE_APP_ID="54
59207
"
GROMORE_SPLASH_CODE
=
"102
590944
"
GROMORE_VIDEO_CODE="102418861"
GROMORE_EXPRESS_CODE
=
"102419307"
GROMORE_MY_EXPRESS_CODE="102418862"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment