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: 
5ytech
Visitor

rolistscreen stuck

My application have two screens roListscreen and roGridscreen, once we select a item in rolistscreen it will lead to rogridscreen. in rogridscreen after selecting back button( if msg.isScreenClosed() return -1 end if) it is coming back to rolistscreen, but it is not selecting the other items of rolistscreen, it is stuck, it is scrolling up and down, but cant select items. please help me in this
0 Kudos
2 REPLIES 2
RokuJoel
Binge Watcher

Re: rolistscreen stuck

Somehow, your gridscreen is not properly returning control to the calling function. If you post the if/then in your grid function and the bit of the ListScreen function that launches the grid, maybe we can see what is going on. Is there any component between the two that is shown?

- Joel
0 Kudos

Re: rolistscreen stuck

I experienced the same issue going from roGridScreen to roListScreen. When I hit the back arrow on the remote, it returned to the grid screen but all of the functionality was gone. I can scroll but not select anything.

My Fix, When listening to messages in the second screen...

elseif (msg.isScreenClosed()) then
print "List Closed"
exit while
endif

I didn't have "exit while". After including this, I am returned to the previous screen and the functionality is there.
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.