Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-25991

MobileApplication should have a viewMenuItems property that allows developers to supply default menu items

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Later
    • Adobe Flex SDK Previous
    • None
    • Mobile: Menu
    • 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):

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: