Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
android_street
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_street
Commits
2ce9774c
Commit
2ce9774c
authored
Aug 06, 2021
by
mengcuiguang2
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
产品会员title展示
parent
32cc14ed
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
GridPaymentAdapter.kt
.../main/java/com/mints/street/adapter/GridPaymentAdapter.kt
+2
-1
No files found.
app/src/main/java/com/mints/street/adapter/GridPaymentAdapter.kt
View file @
2ce9774c
...
@@ -52,7 +52,8 @@ class GridPaymentAdapter(val context: Context, val list: List<VipBean.ListBean>)
...
@@ -52,7 +52,8 @@ class GridPaymentAdapter(val context: Context, val list: List<VipBean.ListBean>)
holder
.
binding
.
bg
.
setBackgroundResource
(
R
.
drawable
.
shape_bg_payment_down
)
holder
.
binding
.
bg
.
setBackgroundResource
(
R
.
drawable
.
shape_bg_payment_down
)
notifyDataSetChanged
()
notifyDataSetChanged
()
}
}
holder
.
binding
.
tvDays
.
text
=
"${databean.days}天"
// holder.binding.tvDays.text = "${databean.days}天"
holder
.
binding
.
tvDays
.
text
=
databean
.
title
holder
.
binding
.
tvOldprice
.
text
=
"原价¥${databean.oldPrice}"
holder
.
binding
.
tvOldprice
.
text
=
"原价¥${databean.oldPrice}"
holder
.
binding
.
tvPrice
.
text
=
"¥${databean.price}"
holder
.
binding
.
tvPrice
.
text
=
"¥${databean.price}"
holder
.
binding
.
ivHot
.
visibility
=
if
(
databean
.
activityType
==
0
)
View
.
GONE
else
View
.
VISIBLE
holder
.
binding
.
ivHot
.
visibility
=
if
(
databean
.
activityType
==
0
)
View
.
GONE
else
View
.
VISIBLE
...
...
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