12-18-2008 04:08 PM - edited 12-18-2008 04:51 PM
The application that I am working on with another developer has only one screen that gets redrawn with content.
I need to have the content that displays in the menu from when the Menu button is clicked change. So if we have Foo painted on the Screen and it contains 1,2,3 in the menu list, and then Bar gets painted over the Screen, I need for the menu list to remove 1,2,3 and list A,B,C.
Is this something that can be done?
Or must we use different classes for the Screens so that the makeMenu() gets called upon load because there is no other way to redraw the menu item?
Also, i noticed that if I navigate to a new screen then the menu is, I'm guessing reset on its own showing only a close option. Do I need to manually reset the menu if I navigate away from one screen to another or does it do this on its own?
12-18-2008 06:18 PM
I answered this question in your other thread on the subject also.
makeMenu() is called each and every time the user clicks the MENU key, so you can add your menu items based on the context or state of the application.