Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Pagination with SceneGraph PosterGrid

Hi,

I'm wondering how to implement pagination for the SceneGraph's PosterGrid.

In searching the forum for pagination posts, I found this interesting suggestion for roGridScreen.

https://forums.roku.com/viewtopic.php?f ... on#p427165

The idea is that if you know the total number of items ahead of time, you can populate the grid with just the first few items and the rest with 'invalid' nodes presumably so that grid isn't suddenly overwhelmed with dozens of items. Then as the user navigates down, you detect this through focus change events and populate accordingly.

Is such an approach viable for SceneGraph's PosterGrid? Are there better ways?
0 Kudos