Object virtualization needed, like a chat panel of a messenger

I have a lv_obj chat panel containing a list of chat messages, containing text, sender information etc.
If for example the list is about 500 items large, all objects are created, but only 2 of them are visible inside the panel. This takes seconds and is a notable delay. So it would be fine if they get created on-demand, when they become visible.

Hey,

You can take a look at this new example.

We have just discovered a bug in it though. It enters to an infinite loop in the browser when it reaches the end of the list. @liamHowatt will check it out newt week.

1 Like

Very good, you did the virtualization already yourself. I will also check the example and it should not a big thing to fix it.