Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Later
-
Adobe Flex SDK Previous
-
None
-
None
-
Affected OS(s): All OS Platforms
Language Found: English
Description
ViewMenu uses the active view's viewMenuItems property to decide what items to populate in a view. I feel that MobileApplication should have a viewMenuItems property that serves as the default menu items when a View does not provide anything. This gives developers the option of create a global menu if there items are the same throughout the application.
Some benefits of this:
- Provides a mechanism for create a global application menu (which is common)
- Reduces developer code duplication
- If a global menu is used, the ViewMenuItems (which are UIComponents) don't need to be recreated, thus lowering the overhead time of view creation
- Will follow patterns introduced by ActionBar and ViewNavigator.
This is very simple to implement, but should provide a lot of value.
Workaround (if any):