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: 
toddaa
Visitor

refreshShowDetail after ScreenClosed

Is there a way to refresh the show detail (refreshShowDetail from appDetailScreen.brs) when the video screen is closed by the back button on the remote?
0 Kudos
2 REPLIES 2
destruk
Streaming Star

Re: refreshShowDetail after ScreenClosed

In your screen that originally called the videoplayer, you can refresh the show detail on the very next line - that way when the videoscreen closes it immediately refreshes from the prior statement that called the video screen.
Alternately, you could pass a reference handle to the existing screen with the show information to the routine that plays the video or creates the video screen, and have that routine update the previous screen through the handle reference.
0 Kudos
toddaa
Visitor

Re: refreshShowDetail after ScreenClosed

You first option works better for me. I was headed down the second, but the first is much easier/faster to implement.

Thanks!
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.