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: 
joetesta
Level 11

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
joetesta
Level 11

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