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
2024-06-19 14:36:30 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
e26693b78f1bd9be3f882e4f4a2fcd5de31ba141
e26693b7
1 parent
80382a3d
unified coupons image fix
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
warply_android_sdk/src/main/java/ly/warp/sdk/views/adapters/ActiveCouponAdapter.java
warply_android_sdk/src/main/java/ly/warp/sdk/views/adapters/ActiveCouponAdapter.java
View file @
e26693b
...
...
@@ -139,13 +139,13 @@ public class ActiveCouponAdapter extends RecyclerView.Adapter<ActiveCouponAdapte
holder
.
clCustomLayout
.
setBackgroundResource
(
R
.
drawable
.
ic_coupon_background_new2
);
}
if
(
!
TextUtils
.
isEmpty
(
couponItem
.
getImage
()))
{
if
(
merchant
!=
null
&&
!
TextUtils
.
isEmpty
(
merchant
.
getImgPreview
()))
{
Glide
.
with
(
mContext
)
// .setDefaultRequestOptions(
// RequestOptions
// .placeholderOf(R.drawable.ic_default_contact_photo)
// .error(R.drawable.ic_default_contact_photo))
.
load
(
couponItem
.
getImage
())
.
load
(
merchant
.
getImgPreview
())
.
diskCacheStrategy
(
DiskCacheStrategy
.
DATA
)
.
into
(
holder
.
ivCouponLogo
);
}
else
{
...
...
Please
register
or
login
to post a comment