Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
F
File Recovery RecycleBin
Project
Project
Details
Activity
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wanglei
File Recovery RecycleBin
Commits
4d3d6adc
Commit
4d3d6adc
authored
Jul 16, 2024
by
wanglei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
插页预加载
parent
6949230e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
SplashActivity.kt
...om/base/filerecoveryrecyclebin/activity/SplashActivity.kt
+2
-0
AdMaxInterstitialUtils.kt
.../filerecoveryrecyclebin/ads/max/AdMaxInterstitialUtils.kt
+8
-0
No files found.
app/src/main/java/com/base/filerecoveryrecyclebin/activity/SplashActivity.kt
View file @
4d3d6adc
...
@@ -19,6 +19,7 @@ import com.base.filerecoveryrecyclebin.activity.screenshot.ScreenShotActivity
...
@@ -19,6 +19,7 @@ import com.base.filerecoveryrecyclebin.activity.screenshot.ScreenShotActivity
import
com.base.filerecoveryrecyclebin.ads.admob.AdmobInterstitialUtils
import
com.base.filerecoveryrecyclebin.ads.admob.AdmobInterstitialUtils
import
com.base.filerecoveryrecyclebin.ads.admob.AdmobNativeUtils
import
com.base.filerecoveryrecyclebin.ads.admob.AdmobNativeUtils
import
com.base.filerecoveryrecyclebin.ads.admob.AdmobOpenUtils
import
com.base.filerecoveryrecyclebin.ads.admob.AdmobOpenUtils
import
com.base.filerecoveryrecyclebin.ads.max.AdMaxInterstitialUtils
import
com.base.filerecoveryrecyclebin.ads.max.AdMaxOpenUtils
import
com.base.filerecoveryrecyclebin.ads.max.AdMaxOpenUtils
import
com.base.filerecoveryrecyclebin.bean.ConstObject
import
com.base.filerecoveryrecyclebin.bean.ConstObject
import
com.base.filerecoveryrecyclebin.bean.ConstObject.ID_JUNK_CLEAN_PUSH
import
com.base.filerecoveryrecyclebin.bean.ConstObject.ID_JUNK_CLEAN_PUSH
...
@@ -83,6 +84,7 @@ class SplashActivity : BaseActivity<ActivitySplashBinding>() {
...
@@ -83,6 +84,7 @@ class SplashActivity : BaseActivity<ActivitySplashBinding>() {
AdmobInterstitialUtils
.
loadInterstitialAd
(
this
)
AdmobInterstitialUtils
.
loadInterstitialAd
(
this
)
}
else
{
}
else
{
AdMaxOpenUtils
.
loadAppOpenAd
(
this
)
AdMaxOpenUtils
.
loadAppOpenAd
(
this
)
AdMaxInterstitialUtils
.
loadInterstitialAd
(
this
)
}
}
}
else
{
}
else
{
binding
.
llStart
.
visibility
=
View
.
VISIBLE
binding
.
llStart
.
visibility
=
View
.
VISIBLE
...
...
app/src/main/java/com/base/filerecoveryrecyclebin/ads/max/AdMaxInterstitialUtils.kt
View file @
4d3d6adc
...
@@ -83,6 +83,7 @@ object AdMaxInterstitialUtils {
...
@@ -83,6 +83,7 @@ object AdMaxInterstitialUtils {
override
fun
onAdHidden
(
p0
:
MaxAd
)
{
override
fun
onAdHidden
(
p0
:
MaxAd
)
{
LogEx
.
logDebug
(
TAG
,
"onAdHidden"
)
LogEx
.
logDebug
(
TAG
,
"onAdHidden"
)
onHidden
?.
invoke
()
onHidden
?.
invoke
()
interstitialAd
?.
loadAd
()
}
}
override
fun
onAdClicked
(
p0
:
MaxAd
)
{
override
fun
onAdClicked
(
p0
:
MaxAd
)
{
...
@@ -199,5 +200,12 @@ object AdMaxInterstitialUtils {
...
@@ -199,5 +200,12 @@ object AdMaxInterstitialUtils {
}
}
fun
loadInterstitialAd
(
activity
:
Activity
)
{
setListener
(
activity
)
if
(
AdMaxInit
.
isAdMaxInit
)
{
interstitialAd
?.
loadAd
()
}
}
}
}
\ No newline at end of file
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