joetesta
12 years agoRoku Guru
SetContentListSubset and grids with too many results
Greetings -
I'm working on a channel that has grid screens with a potentially huge number of results. Just in testing I saw that it was taking way too long to load and crashing the whole roku, so I drastically cut back on the number of elements just to get the channel functional. Now I'd like to consider using "SetContentListSubset" or some other function to allow partial grid loading or pagination.
I thought I'd seen people discussing / handling this somehow in the past, but now that I search the dev forum for "SetContentListSubset" there are only a handful of responses and none that figured out / explain how to use it.
Does this function help with large grids; is there an example? Or is there a better way to handle huge grids and partial loading?
tyvmia,
Joe
Update: perhaps this post will get me started: viewtopic.php?f=34&t=22547&p=157968&hilit=pagination#p157968
A concern would be going back up - the content list needs to be overwritten in either direction, since I assume based on testing that if we just keep adding to the screen as they scroll down, it will eventually get too large and crash the whole roku.
I'm working on a channel that has grid screens with a potentially huge number of results. Just in testing I saw that it was taking way too long to load and crashing the whole roku, so I drastically cut back on the number of elements just to get the channel functional. Now I'd like to consider using "SetContentListSubset" or some other function to allow partial grid loading or pagination.
I thought I'd seen people discussing / handling this somehow in the past, but now that I search the dev forum for "SetContentListSubset" there are only a handful of responses and none that figured out / explain how to use it.
Does this function help with large grids; is there an example? Or is there a better way to handle huge grids and partial loading?
tyvmia,
Joe
Update: perhaps this post will get me started: viewtopic.php?f=34&t=22547&p=157968&hilit=pagination#p157968
A concern would be going back up - the content list needs to be overwritten in either direction, since I assume based on testing that if we just keep adding to the screen as they scroll down, it will eventually get too large and crash the whole roku.