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
f9dc4efb
Commit
f9dc4efb
authored
Jun 23, 2025
by
wanglei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[拆包]修复问题
parent
6b50e701
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
AdNativeMgr.kt
...n/java/com/base/appzxhy/business/ads/admob/AdNativeMgr.kt
+1
-2
fragment_clean_native.xml
app/src/main/res/layout/fragment_clean_native.xml
+1
-0
No files found.
app/src/main/java/com/base/appzxhy/business/ads/admob/AdNativeMgr.kt
View file @
f9dc4efb
...
@@ -110,11 +110,10 @@ class AdNativeMgr {
...
@@ -110,11 +110,10 @@ class AdNativeMgr {
cacheItems
.
clear
()
cacheItems
.
clear
()
}
}
parent
.
isAdShowed
=
true
val
nativeAd
=
cacheItems
.
peek
()
val
nativeAd
=
cacheItems
.
peek
()
var
showAction
:
(
ad
:
NativeAd
)
->
Unit
=
{
ad
->
var
showAction
:
(
ad
:
NativeAd
)
->
Unit
=
{
ad
->
parent
.
isAdShowed
=
true
nativeCallBack
?.
invoke
(
ad
)
nativeCallBack
?.
invoke
(
ad
)
parent
.
setNativeAd
(
ad
,
layout
)
parent
.
setNativeAd
(
ad
,
layout
)
admobEvent
.
showAd
(
ad
.
responseInfo
)
admobEvent
.
showAd
(
ad
.
responseInfo
)
...
...
app/src/main/res/layout/fragment_clean_native.xml
View file @
f9dc4efb
...
@@ -13,6 +13,7 @@
...
@@ -13,6 +13,7 @@
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center"
android:layout_gravity=
"center"
app:cardElevation=
"0dp"
android:layout_marginHorizontal=
"@dimen/dp_16"
android:layout_marginHorizontal=
"@dimen/dp_16"
app:cardBackgroundColor=
"@color/white"
app:cardBackgroundColor=
"@color/white"
app:cardCornerRadius=
"@dimen/dp_8"
>
app:cardCornerRadius=
"@dimen/dp_8"
>
...
...
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