5 Different Listviews using Dynamic component Extension | Guide

Aia is provided

2 Likes

i need variable icons / images for each card

how to set blocks…

Use For each number block.
@KABIRI_APPS

1 Like

blocks (43)

thanks …this is working

Ya, This is another way but both work fine…

Everything is OK…Only i am getting error when click any card …

my block is

kindly Solve it…Thanks in Advance

The error is pretty self explanatory, it was expecting a label but it received a cardview instead.
You will have to use the replace block to change the ID from the cardview’s to the label’s

1 Like

ohk this is working…But Card Click problem occurs.
Clicking on cards dont working smoothly (Sometime works or not)

my whole blocks are here …

You have to set cardview’s full clickable property to true…

Thanks…This is solved using this

1 Like

Correction, they forgot the “thumbImage_”. When I used it I noticed a difference and when I noticed they forgot to put it on.

Note: I don’t know if you noticed this already, if you noticed, disregard it.
Note²: If anyone can help me decrease my publication, I would be grateful!

{
“name”:“Youtube Homepage ListView”,
“metadata-version”:1,
“author”:“Maayur (rewritten by WaterMelonIce and corrected by Victor Keen)”,
“platforms”:[
“Kodular”
],
“keys”:[
“count”,
“thumb”,
“title”,
“icon”,
“name”,
“views”,
“time”
],
“components”:[
{
“id”:"{count}",
“type”:“MakeroidCardView”,
“properties”:{
“AlignHorizontal”:3,
“AlignVertical”:2,
“Width”:-2,
“Height”:-1,
“ContentPaddingBottom”:0,
“ContentPaddingLeft”:0,
“ContentPaddingRight”:0,
“ContentPaddingTop”:0,
“CornerRadius”:5
},
“components”:[
{
“id”:“thumbImage_{count}”,
“type”:“Image”,
“properties”:{
“Width”:-2,
“Height”:-1,
“Picture”:"{thumb}",
“ScalePictureToFit”:true
}
},
{
“id”:“Horizontal_{count}”,
“type”:“HorizontalArrangement”,
“properties”:{
“AlignHorizontal”:1,
“AlignVertical”:2,
“Width”:-2,
“HeightPercent”:7
},
“components”:[
{
“id”:“Space_{count}”,
“type”:“SpaceView”,
“properties”:{
“Width”:6
}
},
{
“id”:“profileImage_{count}”,
“type”:“Image”,
“properties”:{
“Height”:45,
“Width”:45,
“Picture”:"{icon}"
}
},
{
“id”:“Space2_{count}”,
“type”:“SpaceView”,
“properties”:{
“WidthPercent”:3
}
},
{
“id”:“Vertical_{count}”,
“type”:“VerticalArrangement”,
“properties”:{
“AlignVertical”:1,
“Height”:-1,
“Width”:-2
},
“components”:[
{
“id”:“Label_{count}”,
“type”:“Label”,
“properties”:{
“FontSize”:16,
“FontTypefaceImport”:“Product_Sans_Bold.ttf”,
“Text”:"{title}"
}
},
{
“id”:“Label2_{count}”,
“type”:“Label”,
“properties”:{
“FontSize”:12,
“FontTypefaceImport”:“Product_Sans_Regular.ttf”,
“TextColor”:-12303292,
“Text”:"{name} • {views} • {time}"
}
}
]
},
{
“id”:“dotsLabel_{count}”,
“type”:“Label”,
“properties”:{
“FontTypeface”:7,
“TextAlignment”:0,
“WidthPercent”:8,
“FontSize”:20,
“Text”:“more_vert”
}
}
]
}
]
}
]
}

Did I though? The “thumbImage_” is present. Did I misunderstand you?

1 Like

Well, I’m using “schema” 5 and I’m missing ‘thumbnails’ and ‘description’.
I used scheme 4 and it was missing, and now this one too.

1 Like

i am facing similar issue…

I have 2 dynamic and 1 simple card view in a screen.

But i am getting same result for every card view click operation…

kindly help to solve this…

You can always check whether a card view was created with dynamic components or not

3 Likes

This post was flagged by the community and is temporarily hidden.

I finally understand what you’re saying. However, the original aia shows that it set the image with an extension (DevYBImageLoader) as I remember, that’s why I didn’t set it in schema. It is impossible to run method in schema. In another word, my schema isn’t “incorrect”.

Hello, I want to use a button as much as I don’t know but I can’t do click part (Help me) :blush:

Use any button click event to detect the button click.

How to align text to center / right. No component /block found. Plz help…

Talking about any label…