that can’t be true! I’ve been into IT for decades now, but it seems to be my very destiny immediately after I’ve finished the tutorial of something new the first thing I do is stepping into something that isn’t (yet) implemented …
I was impressed how easily a big record set can be displayed with VirtualList, but probably you are right and I have to look into the Grid.
I understand that if we add many components to render in that way it can affect the performance, but the VirtualList I think is designed for a good performance, just try and let us know.
If you are going to add a lot of items, let me know how it works, I’m interested…
You can use a JVM memory monitoring tool such as JVisualVM for example.
I don’t think so. The click listener does not prevent the row component from being garbage collected and the click listener will be garbage collected as the same time as the row component since your application code doesn’t store a reference in any other place.
The click listener does slightly increase the total memory use of each row component but that’s still little enough to easily remain within the same order of magnitude.