Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
P
PDF Reader 2
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
PDF Reader 2
Commits
128fe796
Commit
128fe796
authored
Oct 30, 2024
by
wanglei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.....
parent
51deca68
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
AE.kt
app/src/main/java/com/base/pdfreader2/dasd/admob/AE.kt
+2
-2
AveUtils.kt
app/src/main/java/com/base/pdfreader2/dasd/admob/AveUtils.kt
+1
-1
No files found.
app/src/main/java/com/base/pdfreader2/dasd/admob/AE.kt
View file @
128fe796
...
@@ -185,7 +185,7 @@ object AE {
...
@@ -185,7 +185,7 @@ object AE {
}
}
is
NativeAd
->
{
is
NativeAd
->
{
key
=
"ad_price
_native
"
key
=
"ad_price"
val
loadedAdapterResponseInfo
=
ad
.
responseInfo
?.
loadedAdapterResponseInfo
val
loadedAdapterResponseInfo
=
ad
.
responseInfo
?.
loadedAdapterResponseInfo
val
adSourceName
=
loadedAdapterResponseInfo
?.
adSourceName
val
adSourceName
=
loadedAdapterResponseInfo
?.
adSourceName
val
adSourceId
=
loadedAdapterResponseInfo
?.
adSourceId
val
adSourceId
=
loadedAdapterResponseInfo
?.
adSourceId
...
@@ -250,7 +250,7 @@ object AE {
...
@@ -250,7 +250,7 @@ object AE {
if
(
adUnit
!=
"nativeAd"
)
{
if
(
adUnit
!=
"nativeAd"
)
{
EvenWQEWQEtUtils
.
event
(
"ad_show"
,
ext
=
obj
)
EvenWQEWQEtUtils
.
event
(
"ad_show"
,
ext
=
obj
)
}
else
{
}
else
{
EvenWQEWQEtUtils
.
event
(
"
bigimage_
ad_show"
,
ext
=
obj
)
EvenWQEWQEtUtils
.
event
(
"ad_show"
,
ext
=
obj
)
}
}
}
}
}
}
\ No newline at end of file
app/src/main/java/com/base/pdfreader2/dasd/admob/AveUtils.kt
View file @
128fe796
...
@@ -91,7 +91,7 @@ object AveUtils {
...
@@ -91,7 +91,7 @@ object AveUtils {
fun
showNativeAd
(
activity
:
Activity
?,
parent
:
ViewGroup
,
layout
:
Int
=
R
.
layout
.
layout_admob_native_custom
)
{
fun
showNativeAd
(
activity
:
Activity
?,
parent
:
ViewGroup
,
layout
:
Int
=
R
.
layout
.
layout_admob_native_custom
)
{
val
obj
=
JSONObject
()
val
obj
=
JSONObject
()
obj
.
put
(
"ad_unit"
,
"nativeAd"
)
obj
.
put
(
"ad_unit"
,
"nativeAd"
)
EvenWQEWQEtUtils
.
event
(
"ad_prepare_show
_native
"
,
ext
=
obj
)
EvenWQEWQEtUtils
.
event
(
"ad_prepare_show"
,
ext
=
obj
)
if
(!
AdDis
.
shouldShowNative
())
{
if
(!
AdDis
.
shouldShowNative
())
{
return
return
}
}
...
...
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