Forum Discussion

toddaa's avatar
toddaa
Visitor
14 years ago

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?

2 Replies

  • destruk's avatar
    destruk
    Streaming Star
    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.
  • You first option works better for me. I was headed down the second, but the first is much easier/faster to implement.

    Thanks!