Toggle navigation
Toggle navigation
This project
Loading...
Sign in
open-source
/
warply_android_sdk_maven_plugin
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Panagiotis Triantafyllou
2026-03-13 18:04:40 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
07f7d121f29e403b26d09c5c8459038c61b6a6cf
07f7d121
1 parent
4623c5a9
minor fix
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
warply_android_sdk/src/main/java/ly/warp/sdk/io/adapters/CouponAdapter.java
warply_android_sdk/src/main/java/ly/warp/sdk/io/adapters/CouponAdapter.java
View file @
07f7d12
...
...
@@ -121,6 +121,7 @@ public class CouponAdapter extends RecyclerView.Adapter<CouponAdapter.CouponView
private
final
LinearLayout
llDate
;
private
final
LinearLayout
llDateExpired
;
private
final
TextView
tvExpiredLabel
;
private
final
LinearLayout
llArrow
;
CouponViewHolder
(
@NonNull
View
itemView
)
{
super
(
itemView
);
...
...
@@ -132,6 +133,7 @@ public class CouponAdapter extends RecyclerView.Adapter<CouponAdapter.CouponView
llDate
=
itemView
.
findViewById
(
R
.
id
.
ll_date
);
llDateExpired
=
itemView
.
findViewById
(
R
.
id
.
ll_date_expired
);
tvExpiredLabel
=
itemView
.
findViewById
(
R
.
id
.
tv_expired_label
);
llArrow
=
itemView
.
findViewById
(
R
.
id
.
header_layout
);
WarpUtils
.
renderCustomFont
(
context
,
R
.
font
.
ping_lcg_bold
,
tvTitle
,
tvMerchant
,
tvEndDate
,
tvExpiredLabel
);
...
...
@@ -155,6 +157,7 @@ public class CouponAdapter extends RecyclerView.Adapter<CouponAdapter.CouponView
tvMerchant
.
setTextColor
(
ContextCompat
.
getColor
(
context
,
R
.
color
.
custom_grey9
));
tvTitle
.
setTextColor
(
ContextCompat
.
getColor
(
context
,
R
.
color
.
custom_grey9
));
tvDescription
.
setTextColor
(
ContextCompat
.
getColor
(
context
,
R
.
color
.
custom_grey9
));
llArrow
.
setVisibility
(
View
.
GONE
);
llDate
.
setVisibility
(
View
.
GONE
);
llDateExpired
.
setVisibility
(
View
.
VISIBLE
);
}
else
{
...
...
@@ -162,6 +165,7 @@ public class CouponAdapter extends RecyclerView.Adapter<CouponAdapter.CouponView
tvMerchant
.
setTextColor
(
ContextCompat
.
getColor
(
context
,
R
.
color
.
custom_grey3
));
tvTitle
.
setTextColor
(
ContextCompat
.
getColor
(
context
,
R
.
color
.
custom_black6
));
tvDescription
.
setTextColor
(
ContextCompat
.
getColor
(
context
,
R
.
color
.
custom_grey3
));
llArrow
.
setVisibility
(
View
.
VISIBLE
);
llDate
.
setVisibility
(
View
.
VISIBLE
);
llDateExpired
.
setVisibility
(
View
.
GONE
);
}
...
...
Please
register
or
login
to post a comment