Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
android_flowbox
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_flowbox
Commits
77744e74
Commit
77744e74
authored
Jul 22, 2021
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
3ff4e0a4
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
InterstitialGroManager.java
...com/mints/flowbox/ad/inscreen/InterstitialGroManager.java
+3
-0
WifiAdManager.kt
app/src/main/java/com/mints/flowbox/ad/wifi/WifiAdManager.kt
+2
-2
No files found.
app/src/main/java/com/mints/flowbox/ad/inscreen/InterstitialGroManager.java
View file @
77744e74
...
@@ -166,6 +166,9 @@ public class InterstitialGroManager {
...
@@ -166,6 +166,9 @@ public class InterstitialGroManager {
vo
.
put
(
"adid"
,
interstitialId
);
vo
.
put
(
"adid"
,
interstitialId
);
TrackManager
.
getInstance
().
cmtGroMoreInfo
(
vo
);
TrackManager
.
getInstance
().
cmtGroMoreInfo
(
vo
);
}
else
{
}
else
{
if
(
this
.
wifiAdStatusListener
!=
null
)
{
this
.
wifiAdStatusListener
.
adFail
();
}
// 当加载到广告后 ,长时间未展示失效时 改变状态
// 当加载到广告后 ,长时间未展示失效时 改变状态
isLoadSuccess
=
false
;
isLoadSuccess
=
false
;
}
}
...
...
app/src/main/java/com/mints/flowbox/ad/wifi/WifiAdManager.kt
View file @
77744e74
...
@@ -98,7 +98,7 @@ class WifiAdManager private constructor() {
...
@@ -98,7 +98,7 @@ class WifiAdManager private constructor() {
interstitialGroManager
?.
onDestroy
()
interstitialGroManager
?.
onDestroy
()
}
}
interstitialGroManager
=
InterstitialGroManager
()
interstitialGroManager
=
InterstitialGroManager
()
interstitialGroManager
?.
setWifiAdStatusListener
(
wifiAdStatusListener
)
//
interstitialGroManager?.setWifiAdStatusListener(wifiAdStatusListener)
interstitialGroManager
?.
loadInsertScreenAd
(
activity
,
isMain
)
interstitialGroManager
?.
loadInsertScreenAd
(
activity
,
isMain
)
}
}
...
@@ -110,7 +110,7 @@ class WifiAdManager private constructor() {
...
@@ -110,7 +110,7 @@ class WifiAdManager private constructor() {
fullGroManager
?.
onDestroy
()
fullGroManager
?.
onDestroy
()
}
}
fullGroManager
=
FullGroManager
()
fullGroManager
=
FullGroManager
()
fullGroManager
?.
setWifiAdStatusListener
(
wifiAdStatusListener
)
//
fullGroManager?.setWifiAdStatusListener(wifiAdStatusListener)
fullGroManager
?.
loadFullAd
(
activity
,
isMain
)
fullGroManager
?.
loadFullAd
(
activity
,
isMain
)
}
}
...
...
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