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
05b0aaa6
Commit
05b0aaa6
authored
Oct 30, 2024
by
wanglei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
...手动混淆...
parent
020214f6
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
ASDumentAdapter.kt
.../main/java/com/base/pdfreader2/ui/main/ASDumentAdapter.kt
+3
-3
item_bbbod.xml
app/src/main/res/layout/item_bbbod.xml
+0
-0
No files found.
app/src/main/java/com/base/pdfreader2/ui/main/ASDumentAdapter.kt
View file @
05b0aaa6
...
...
@@ -12,7 +12,7 @@ import com.base.pdfreader2.bean.DocumeewewntBean.Companion.TYPE_EXCEL
import
com.base.pdfreader2.bean.DocumeewewntBean.Companion.TYPE_PDF
import
com.base.pdfreader2.bean.DocumeewewntBean.Companion.TYPE_PPT
import
com.base.pdfreader2.bean.DocumeewewntBean.Companion.TYPE_WORD
import
com.base.pdfreader2.databinding.Item
A
dBinding
import
com.base.pdfreader2.databinding.Item
Bbbo
dBinding
import
com.base.pdfreader2.databinding.ItemDocumentBinding
import
com.base.pdfreader2.utils.SSDtlinExt.toFormatSize
import
com.base.pdfreader2.utils.SSDtlinExt.toFormatTime
...
...
@@ -35,7 +35,7 @@ class ASDumentAdapter() : BaseQuickAdapter<DocumeewewntBean, ASDumentAdapter.Doc
override
fun
onBindViewHolder
(
holder
:
DocumentViewHolder
,
position
:
Int
,
item
:
DocumeewewntBean
?)
{
if
(
item
==
null
)
return
if
(
item
.
isAd
)
{
val
binding
=
Item
A
dBinding
.
bind
(
holder
.
itemView
)
val
binding
=
Item
Bbbo
dBinding
.
bind
(
holder
.
itemView
)
AveUtils
.
showNativeAd
(
null
,
binding
.
flAd
,
R
.
layout
.
layout_admob_document
)
}
else
{
val
binding
=
ItemDocumentBinding
.
bind
(
holder
.
itemView
)
...
...
@@ -152,7 +152,7 @@ class ASDumentAdapter() : BaseQuickAdapter<DocumeewewntBean, ASDumentAdapter.Doc
return
if
(
viewType
==
0
)
{
DocumentViewHolder
(
R
.
layout
.
item_document
.
inflate
(
parent
))
}
else
{
DocumentViewHolder
(
R
.
layout
.
item_
a
d
.
inflate
(
parent
))
DocumentViewHolder
(
R
.
layout
.
item_
bbbo
d
.
inflate
(
parent
))
}
}
}
\ No newline at end of file
app/src/main/res/layout/item_
a
d.xml
→
app/src/main/res/layout/item_
bbbo
d.xml
View file @
05b0aaa6
File moved
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