In my Watch App I am using ANT to view settings on a device within a menu. I wanted my menu to be as follows:
->LoadSettings
->PushSettings
->Setting 1
->Setting 2
...etc
When the "LoadSettings" item is selected, it sends an ANT message requesting burst message of settings from my device. In receipt of that burst message it calls the onReceiveComplete method in the BurstListener in my ant handler. I use this to call a method to retrieve the settings.
When this happens I need to reload the menu. I have tried to do a Ui.requestUpdate, and have created an onUpdate method in my menu code (which extends ui.Menu2) but the onUpdate method never gets called.
What is the best way to do this? Essentially what I want to do is refresh my menu (could just be delete all items and re-add) from another class.
Thank you.