Dynamic Cardview: App Crashing

It keeps crashing if the data is more than 50, this is my blocks

Forgot to show the block, When the Screen Initialized, I call Spreadsheet 1. Get Column, Column Name: Title, and Max Record: 1200

How am I able to get larger items in 3 seperated Columns “Title”, “ID”, and “Date”? because if I will use the common method, it lags and crashes the app

Try this way, create another global variable for example thumbnails to create and empty list. Before creating list view with images for each item in list global id, add items to global thumbnails using call get thumbnail from videoID where videoId is get item. Once that list is created then create List View with Image and get images from global thumbnails

1 Like

Ill try this one


Is this Correct?


blocks(25)

No try this way

After that create List View with Image using global thumbnails


is this correct?


1 Like

it gives an error

"Select list item: List index too large"
Select list item: Attempt to get item number 1 of a list of length 0:[]

Your list is empty, did you get data from airtable ?

Use Do it on all global lists to see if they are empty or not

yes I did get

Try to use a clock component and move creation of ListView on clock timer

Ill try to do it

Instead you can share a demo aia, inorder to put an endpoint sooner the topic :wink:

Sorry, as I said earlier, it was in a whole project of mine, can’t share the aia file

I found the issue, I forgot to change the “get global ID” to the original ID variable, Im currently testing it if it was the solution to Lagging, because it always lags when loading an image

You can try kodular default image utility block (which loads image in asynchronous method) to avoid , may be, the lagging the app

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.