|
|
@@ -116,6 +116,7 @@ class BackpackItemViewBinder(
|
|
|
when (packageInfo.goodsType) {
|
|
|
StoreGoodType.CAR.type -> {
|
|
|
binding.ivEffect.setURL(packageInfo.img, intent = Intent().apply {
|
|
|
+ putExtra(RES_URL, packageInfo.dynamicResourceUrl?.ifEmpty { packageInfo.resourceEffect })
|
|
|
putExtra(DYNAMIC_RESOURCE_URL, (packageInfo.dynamicResourceUrl)?.ifEmpty { packageInfo.img })
|
|
|
putExtra(NEW_DYNAMIC_RESOURCE_URL, packageInfo.newDynamicResourceUrl)
|
|
|
putExtra(NEW_ANIM_TYPE, packageInfo.newAnimType)
|
|
|
@@ -168,6 +169,7 @@ class BackpackItemViewBinder(
|
|
|
StoreGoodType.THEME.type -> {
|
|
|
binding.ivEffect.setURL(packageInfo.img, intent = Intent().apply {
|
|
|
putExtra(DYNAMIC_RESOURCE_URL, packageInfo.dynamicResourceUrl)
|
|
|
+ putExtra(NEW_DYNAMIC_RESOURCE_URL, packageInfo.newDynamicResourceUrl)
|
|
|
putExtra(RES_URL, packageInfo.img)
|
|
|
putExtra(NEW_DYNAMIC_RESOURCE_URL, packageInfo.newDynamicResourceUrl)
|
|
|
putExtra(GOODS_TYPE, packageInfo.goodsType)
|