Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
android_goodmoney
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_goodmoney
Commits
33ac2ce8
Commit
33ac2ce8
authored
Dec 28, 2020
by
jyx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化信息流加载重复
parent
5199dd9e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
MintsApplication.java
...p/src/main/java/com/mints/goodmoney/MintsApplication.java
+0
-1
PreLoadExpressManager.kt
...a/com/mints/goodmoney/ad/express/PreLoadExpressManager.kt
+6
-2
No files found.
GoodMoney/app/src/main/java/com/mints/goodmoney/MintsApplication.java
View file @
33ac2ce8
...
...
@@ -30,7 +30,6 @@ import com.ximalaya.ting.android.opensdk.constants.ConstantsOpenSdk;
import
com.ximalaya.ting.android.opensdk.datatrasfer.CommonRequest
;
import
com.ximalaya.ting.android.opensdk.player.service.XmPlayerConfig
;
import
com.ximalaya.ting.android.opensdk.util.BaseUtil
;
import
com.ximalaya.ting.android.player.XMediaPlayerConstants
;
import
java.util.concurrent.Executors
;
...
...
GoodMoney/app/src/main/java/com/mints/goodmoney/ad/express/PreLoadExpressManager.kt
View file @
33ac2ce8
...
...
@@ -45,11 +45,15 @@ object PreLoadExpressManager : TTADLoadSuccessListener, YLHADLoadSuccessListener
}
override
fun
onTTAdLoadSuc
(
adFrameLayout
:
FrameLayout
?)
{
mAdFrameLayout
=
adFrameLayout
if
(
isTTExpressAd
)
{
mAdFrameLayout
=
adFrameLayout
}
}
override
fun
onYlhAdLoadSuc
(
adFrameLayout
:
NativeExpressADView
?)
{
mAdFrameLayout
?.
addView
(
adFrameLayout
)
if
(!
isTTExpressAd
)
{
mAdFrameLayout
?.
addView
(
adFrameLayout
)
}
}
}
...
...
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