Does what improve the performance ?
Faster deployment of the cards, essentially
May depend on size of images used.
There is a recycler type option in the project above that only loads the first x cards....
- Thank you.
And finally, I think. Could a filter be set up so that only cards whose records meet a certain condition are built? Where should it be placed?
Thanks
Select records from your original list based upon your condition, generate a new list to be applied to your listview.
I think that's what you've done here, but it gives the following error,
The operation select list item cannot accept the arguments: , ["XXXX.jpg"], [1]
where XXXX.jpg is the first image
You should debug your lists setting and getting to see where the problem lies
the script is tested and works, but not within cardstylelistview
Create a csv file like this:
gas-icon.png,Google Apps Script,write javascript for your apps
sheets-128.png,Google Sheets,do Numbers and the rest
slides-128.png,Google Slides,do Presentations
...
then convert it to an AI2 list
I get the same error
The operation select list item cannot accept the arguments: , ["slides-128.png"], [1]
I see you are using Dynamic Components, not CompCreator as advised ? I have not really used that extension for @ 4 years.
Indeed, I am sorry.
It is not possible with dynamic components?
Probably, just that I haven't used it for ages, so difficult to advise on where you are going wrong.
Thank you, anyway
Much easier to iterate over the list with for each item in list
for each item in list
create a cardview
set image to item index1
set title to item index2
set detail to item index3