From e0b1d73f3f97010d21c5e503bbdd23dad2c90245 Mon Sep 17 00:00:00 2001 From: Sergio De la torre Date: Fri, 9 Feb 2024 11:13:20 +0100 Subject: [PATCH] refs #6651feat:itemShelving_get --- .../view/feature/ubicador/adapter/UbicadorAdapter.kt | 4 ++-- .../view/feature/ubicador/model/ItemUbicadorVO.kt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/es/verdnatura/presentation/view/feature/ubicador/adapter/UbicadorAdapter.kt b/app/src/main/java/es/verdnatura/presentation/view/feature/ubicador/adapter/UbicadorAdapter.kt index 1b968f2a..b02756fd 100644 --- a/app/src/main/java/es/verdnatura/presentation/view/feature/ubicador/adapter/UbicadorAdapter.kt +++ b/app/src/main/java/es/verdnatura/presentation/view/feature/ubicador/adapter/UbicadorAdapter.kt @@ -45,8 +45,8 @@ class UbicadorAdapter( multiText.text = "${item.stickers}x${item.packing}" //Tarea 6651 - if (!item.urlImage.isNullOrBlank()) { - imgItem.loadUrl(item.urlImage) + if (!item.url.isNullOrBlank()) { + imgItem.loadUrl(item.url+"/catalog/200x200/"+item.item) } else { imgItem.loadUrl("https://cdn.verdnatura.es/image/catalog/200x200/" + item.item) } diff --git a/app/src/main/java/es/verdnatura/presentation/view/feature/ubicador/model/ItemUbicadorVO.kt b/app/src/main/java/es/verdnatura/presentation/view/feature/ubicador/model/ItemUbicadorVO.kt index 28b33dd1..1cc3da3a 100644 --- a/app/src/main/java/es/verdnatura/presentation/view/feature/ubicador/model/ItemUbicadorVO.kt +++ b/app/src/main/java/es/verdnatura/presentation/view/feature/ubicador/model/ItemUbicadorVO.kt @@ -17,7 +17,7 @@ class ItemUbicadorVO( var checked: Boolean = false, var isNew: Boolean = false, var isChecked: Int? = null, - var urlImage: String = "" + var url: String = "" ) class ItemEscanerVO(