Items with Dynamic Component

So how you did the Other things.
:thinking:

1 Like

Means. What are you saying. I can’t understand.

2 Likes

Ok, bru…

1 Like

can you clear this point?

Please See again…

i already designed the template using json and i put button object in it, now problem is that how this json button works?

Please explain so I can help you

Okay, first i am sharing my “simple JSON Template” i created
{
“name”: “Shopping Items”,
“metadata-version”: 1,
“author”: “Zain Ul Hassan”,
“platforms”: [
“Kodular”
],
“keys”: [
“number”,
“Label1”,
“item-btn”
],
“components”: [
{
“id” : “Item-Cards_{number}”,
“type” : “MakeroidCardView”,
“properties” : {
“WidthPercent” : 90,
“HeightPercent” : 15,
“ContentPaddingTop” : 10,
“ContentPaddingBottom” : 10,
“ContentPaddingRight” : 10,
“ContentPaddingLeft” : 10,
“BackgroundColor” : -526345,
“AlignVertical” : 2,
“AlignHorizontal” : 3,
“FullClickable” : false,
“Elevation” : 0,
“CornerRadius” : 10
},
“components” : [
{
“id” : “Items-HA_{number}”,
“type” : “HorizontalArrangement”,
“properties” : {
“AlignVertical” : 2,
“AlignHorizontal” : 3,
“Width” : -2,
“Height” : -2
},

            "components" : [
                {
                    "id" : "Label1_{number}",
                            "type" : "Label",
                            "properties" : {
                                "FontSize" : 16,
                                "Text" : "{item-name}"
                    }
                },
                
                {
                    "id" : "Item-btn_{number}",
                    "type" : "Button",
                    "properties" : {
                      "FontSize" : 16,
                        "Text" : "{item-btn}"
                    }
                }
              ]
          }
        ]
      }
    ]

}
<------------->
Here are Blocks


Here is Result

Now Here is my problem:-
I want to know that how this button will work?

@Instrumental_Gang You can simply get the click on button with these simple blocks

blocks - 2021-03-03T140509.606

You can also use Dynamic Components IsDynamic block in if condition and you are good to go

1 Like

Not worked at my end, its accepting inputs only from static buttons but my button is made from JSON Template.

That does not matter
I am sure you are doing something worng

I am sharing .aia with you, hope you can help.Dynamic.aia (369.0 KB)

sure
pm me bcos it will offtopic