Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
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
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.