Hi,
I have a PopupMenuItem in my channel with either an "Add Favorite" or "Remove Favorite" option
depending on if the current video is already in the user's favorites list. I have disabled caching on
this screen so that it always fetches the current favorite status and displays the correct Add/Remove
option when entering the screen.
Assuming I'm looking at a new video, when I select the Add option it makes a network API call to add the current video to the user's list of favorites and then I return an
ObjectContainer(header="Success", message="Video added to Favorites")
which displays a message box on the screen. That all works OK, however, after the user closes the message box they are taken back to the underlying PopUpMenuItem which is still showing "Add Favorite" instead of "Remove Favorite" because the underlying PopUpMenuItem has not been reloaded.
Is there a way to force a reload of the current level after an ObjectContainer message has been dismissed?
Thanks,
Charlie