UPDATE: I have not found a way to lazy load an item in a RowList yet. Has anyone figured out how to do this?
Also, let me define what I mean by lazy loading in case others define it differently. Lazy Loading = loading a thumbnail image only when it is visible to the user. So as I scroll the rowlist to the right, each of the images of the thumbnails that were not visible should load once they become visible.
I simply start the grid with a ContentNode with a few (~30) sub ContentNode's. On each item focus, I check to see how far they are down the list. When they get (say 75%) down the list I trigger a task that then fetches the next 30 items. As soon as the task returns them, I append those as ContentNode's to the grid's ContentNode. I don't really worry about "unloading" the images as I believe Roku will handle unloading images as they go out of view (and in my experience it will).
Let me know if any of that is unclear. Also hit me up on Roku Dev Slack for more realtime discussion. (link in my sig)
Join the Roku Developers Slack Workspace for quicker help and great dev collaboration: http://tiny.cc/nrdf0y
BVatBBOD, I will try that. I was hoping there would be an event to which the item could listen to know if it were visible, but I guess I will need to do this outside of the RowList and hardcode that the fact that only 5 thumbnails (in my case) can be seen at any one time.
Thanks for the tip on the Slack channel, I'll be sure to subscribe!