"bathejasumeet" wrote:
made a naive attempt to change the theme of the API, which should not be the case as mentioned by beltown on viewtopic.php?f=34&t=84043
If I'm reading that correctly, I don't think it's accurate. Changing theme attributes at some point after the application has started is definitely supported. One example might be the desire to change the SecondaryOverhangLogo based on the content being displayed (e.g., to display a specific show logo). Typically you would do it immediately prior to showing the screen you want the theme to be different on, but that's not always possible. As you noted, per the documentation, simply calling .Show() again on the screen object should refresh it, but it doesn't, and that's been a bug forever, hence the need for hacks/workarounds.
Note that if you do change a particular theme attribute, and you only want it to apply to the current screen, you'll need to set it back to the original value
before you close the screen, otherwise the screen(s) below it in the stack will adopt the same theme change when they return into view.
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)