Hellow developers, please help me Dynamic Components which support Url images.
I have tried version 2.0, 2.2.2 all those can’t display url images.
Try to load the image url through image utilities
Btw are you testing it in companion live Or In Apk Form
You must have done something wrong at your end as it works as it should.
Post your blocks, url links etc
My Schemer
{
“name”: “ABMShoppers”,
“metadata-version”: 1,
“extension_version”: 5,
“author”: “AlexsTheDeveloper”,
“platforms”: [
“creator.kodular.io”
],
“keys”: [
“id”,
“image”,
“title”,
“subtitle”,
“rate”
],
“components”: [
{
“id”: “Card_View1_{id}”,
“type”: “MakeroidCardView”,
“properties”: {
“Width”: -2
},
“components”: [
{
“id”: “Horizontal_Arrangement3_{id}”,
“type”: “HorizontalArrangement”,
“properties”: {
“Width”: -2
},
“components”: [
{
“id”: “Card_View2_{id}”,
“type”: “MakeroidCardView”,
“components”: [
{
“id”: “Image1_{id}”,
“type”: “Image”,
“properties”: {
“Height”: 100,
“Width”: 100,
“Picture”: “{image}”,
“ScalePictureToFit”:true
}
}
]
},
{
“id”: “Vertical_Arrangement4_{id}”,
“type”: “VerticalArrangement”,
“properties”: {
“Width”: -2
},
“components”: [
{
“id”: “Horizontal_Arrangement4_{id}”,
“type”: “HorizontalArrangement”,
“properties”: {
“Width”: -2
},
“components”: [
{
“id”: “Label4_{id}”,
“type”: “Label”,
“properties”: {
“Text”: “{title}”
}
},
{
“id”: “Space1_{id}”,
“type”: “SpaceView”
}
]
},
{
“id”: “Label6_{id}”,
“type”: “Label”,
“properties”: {
“Text”: “{subtitle}”
}
},
{
“id”: “Label7_{id}”,
“type”: “Label”,
“properties”: {
“Text”: “{rate}”
}
},
{
“id”: “Label5_{id}”,
“type”: “Label”,
“properties”: {
“Text”: “”
}
}
]
}
]
},
{
“id”: “Vertical_Scroll_Arrangement2_{id}”,
“type”: “VerticalScrollArrangement”,
“properties”: {
“Height”: -1002,
“Width”: -2
}
}
]
}
]
}
okey thanks,
am testing in APK form
Remove setting image from schema and use image utilities blocks as shown above
I have tried to change image id, to be the same as schema but Nothing changed
Does your schema works ok or do you get any errors ?
My schema works, retrieving text well,
except images doesn’t display
Use call DynamicComponents.UsedIDs block and see what is the id’s from images
still i get the same error
If you wish pm me or post here a test aia showing the problem
okey , just a minute
My block
my schema
{
“name”: “ABMShoppers”,
“metadata-version”: 1,
“extension_version”: 5,
“author”: “AlexsTheDeveloper”,
“platforms”: [
“creator.kodular.io”
],
“keys”: [
“id”,
“image”,
“title”,
“subtitle”,
“rate”
],
“components”: [
{
“id”: “Card_View1_{id}”,
“type”: “MakeroidCardView”,
“properties”: {
“Width”: -2
},
“components”: [
{
“id”: “Horizontal_Arrangement3_{id}”,
“type”: “HorizontalArrangement”,
“properties”: {
“Width”: -2
},
“components”: [
{
“id”: “Card_View2_{id}”,
“type”: “MakeroidCardView”,
“components”: [
{
“id”: “Image1_{id}”,
“type”: “Image”,
“properties”: {
“Height”: 100,
“Width”: 100,
“Picture”: “{image}”,
“ScalePictureToFit”:true
}
}
]
},
{
“id”: “Vertical_Arrangement4_{id}”,
“type”: “VerticalArrangement”,
“properties”: {
“Width”: -2
},
“components”: [
{
“id”: “Horizontal_Arrangement4_{id}”,
“type”: “HorizontalArrangement”,
“properties”: {
“Width”: -2
},
“components”: [
{
“id”: “Label4_{id}”,
“type”: “Label”,
“properties”: {
“Text”: “{title}”
}
},
{
“id”: “Space1_{id}”,
“type”: “SpaceView”
}
]
},
{
“id”: “Label6_{id}”,
“type”: “Label”,
“properties”: {
“Text”: “{subtitle}”
}
},
{
“id”: “Label7_{id}”,
“type”: “Label”,
“properties”: {
“Text”: “{rate}”
}
},
{
“id”: “Label5_{id}”,
“type”: “Label”,
“properties”: {
“Text”: “”
}
}
]
}
]
},
{
“id”: “Vertical_Scroll_Arrangement2_{id}”,
“type”: “VerticalScrollArrangement”,
“properties”: {
“Height”: -1002,
“Width”: -2
}
}
]
}
]
}