Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
A
appzxhy
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
appzxhy
Commits
c018f0c6
Commit
c018f0c6
authored
Jul 01, 2025
by
wanglei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[修改]pangle上报
parent
5a7b18dd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
PangleRewardMgr.kt
.../java/com/base/appzxhy/business/pangle/PangleRewardMgr.kt
+5
-0
No files found.
app/src/main/java/com/base/appzxhy/business/pangle/PangleRewardMgr.kt
View file @
c018f0c6
...
...
@@ -3,6 +3,7 @@ package com.base.appzxhy.business.pangle
import
android.app.Activity
import
com.base.appzxhy.GlobalConfig
import
com.base.appzxhy.business.ads.AdsShowCallBack
import
com.base.appzxhy.business.pangle.PangleEvent.eventPangleAd
import
com.base.appzxhy.utils.LogEx
import
com.bytedance.sdk.openadsdk.api.reward.PAGRewardItem
import
com.bytedance.sdk.openadsdk.api.reward.PAGRewardedAd
...
...
@@ -33,6 +34,7 @@ class PangleRewardMgr {
}
})
}
fun
show
(
activity
:
Activity
,
showCallBack
:
AdsShowCallBack
?)
{
if
(
activity
.
isFinishing
||
activity
.
isDestroyed
)
{
...
...
@@ -71,6 +73,9 @@ class PangleRewardMgr {
mPAGRewardedAd
?.
setAdInteractionListener
(
object
:
PAGRewardedAdInteractionListener
{
override
fun
onAdShowed
()
{
showCallBack
?.
show
()
mPAGRewardedAd
?.
let
{
eventPangleAd
(
ac
,
it
)
}
mPAGRewardedAd
=
null
load
()
}
...
...
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