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: 
joetesta
Roku Guru

Grid Screen Retrieving issue

Hello,

I am working on a project that uses the grid screen and loads a couple hundred titles. The number and names of rows can vary and loading takes some 15-30 seconds depending on the amount of content. Is there a discussion or any docs about the best way to display a "loading, please wait" type of image?

I tried placing "screen.Show()" before "screen.setupLists" and "screen.SetListNames"; this works nicely on most rokus in that the "retrieving" message is visible while things are loading. However it seems to trigger a bug with older rokus (firmware 3.1) where the description box is moved to the uppermost leftmost part of the screen rather than lower right where it should be.

Any suggestions?
tyvmia
aspiring
0 Kudos
1 REPLY 1
joetesta
Roku Guru

Re: Grid Screen Retrieving issue

Looks like I can fake it out by doing this:

    screen.setupLists(5)
screen.SetListNames(["","","","",""])
screen.Show()


to get the "retrieving" text message, then redo those functions (setupLists, SetListNames) again once the actual data loads. It works on the 3.1 firmware, woohoo!
aspiring
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.