Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
android_payclear
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_payclear
Commits
9249decf
Commit
9249decf
authored
Jan 11, 2023
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
3b5714d4
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
194 deletions
+7
-194
AdHelper.kt
payclear/app/src/main/java/com/mints/bcurd/ad/AdHelper.kt
+0
-17
InMoneySplash.kt
.../src/main/java/com/mints/bcurd/ad/splash/InMoneySplash.kt
+7
-177
No files found.
payclear/app/src/main/java/com/mints/bcurd/ad/AdHelper.kt
View file @
9249decf
package
com.mints.bcurd.ad
package
com.mints.bcurd.ad
import
android.app.Activity
import
com.mints.bcurd.ad.AdManager
import
com.mints.bcurd.ad.express.ExpressManager
import
com.mints.bcurd.common.Constant
/**
/**
* 描述:广告管理
* 描述:广告管理
* 作者:孟崔广
* 作者:孟崔广
* 时间:2021/08/10 10:51
* 时间:2021/08/10 10:51
*/
*/
object
AdHelper
{
object
AdHelper
{
const
val
AD_NO_SHOWTIME_OUT
=
50
// 广告请示成功但在规定时间内未展示
const
val
AD_NO_SHOWTIME_OUT
=
50
// 广告请示成功但在规定时间内未展示
const
val
AD_REQUEST_TIME_OUT
=
1
// 广告预加载时长超时
const
val
AD_REQUEST_TIME_OUT
=
1
// 广告预加载时长超时
/**
* 预加载应用内广告
*/
fun
preInAd
(
activity
:
Activity
?)
{
// 预加载信息流
ExpressManager
.
loadExpress
(
Constant
.
CARRIER_SPLASH
)
activity
?.
let
{
AdManager
.
instance
.
splashPreLoadAll
(
activity
)
}
}
}
}
\ No newline at end of file
payclear/app/src/main/java/com/mints/bcurd/ad/splash/InMoneySplash.kt
View file @
9249decf
This diff is collapsed.
Click to expand it.
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