Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
android_vediosocial
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_vediosocial
Commits
fa371d3b
Commit
fa371d3b
authored
Feb 12, 2025
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
f42bd099
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
SquareAdapter.kt
...n/java/com/duben/loveplayletd/ui/adapter/SquareAdapter.kt
+5
-1
bg_wechat_code.jpg
video/app/src/main/res/mipmap-xxhdpi/bg_wechat_code.jpg
+0
-0
No files found.
video/app/src/main/java/com/duben/loveplayletd/ui/adapter/SquareAdapter.kt
View file @
fa371d3b
...
@@ -24,7 +24,11 @@ class SquareAdapter : BaseQuickAdapter<HallList.ListDTO, BaseViewHolder>(R.layou
...
@@ -24,7 +24,11 @@ class SquareAdapter : BaseQuickAdapter<HallList.ListDTO, BaseViewHolder>(R.layou
override
fun
convert
(
holder
:
BaseViewHolder
,
item
:
HallList
.
ListDTO
)
{
override
fun
convert
(
holder
:
BaseViewHolder
,
item
:
HallList
.
ListDTO
)
{
if
(!
item
.
distance
.
isNullOrEmpty
())
{
if
(!
item
.
distance
.
isNullOrEmpty
())
{
holder
.
getView
<
TextView
>(
R
.
id
.
tv_recommend_location
).
text
=
""
+
item
.
distance
+
"KM"
if
(
item
.
distance
.
contains
(
"·"
)){
holder
.
getView
<
TextView
>(
R
.
id
.
tv_recommend_location
).
text
=
""
+
item
.
distance
+
"KM"
}
else
{
holder
.
getView
<
TextView
>(
R
.
id
.
tv_recommend_location
).
text
=
""
+
item
.
distance
}
}
else
{
}
else
{
holder
.
getView
<
TextView
>(
R
.
id
.
tv_recommend_location
).
text
=
"未知"
holder
.
getView
<
TextView
>(
R
.
id
.
tv_recommend_location
).
text
=
"未知"
}
}
...
...
video/app/src/main/res/mipmap-xxhdpi/bg_wechat_code.jpg
View replaced file @
f42bd099
View file @
fa371d3b
26.9 KB
|
W:
|
H:
7.95 KB
|
W:
|
H:
2-up
Swipe
Onion skin
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