So cool Piotr :) if submenus are coming in MDL v2 and now are not supported, I think you should not spend more time and wait to mdl v2 to implement it and jump to other thing.
Some things I saw: 1) I didn't see in the new example item "separators" as in the old example. 2) building MDLExample I saw this two warnings binding related: /Users/carlosrovira/Dev/Flex/source/flexjs/flex-asjs/examples/flexjs/MDLExample/src/main/flex/itemRenderers/CustomListItemRenderer.mxml(41): col: 25 Data binding will not be able to detect assignments to 'label'. <js:Span text="{data.label}"> ^ /Users/carlosrovira/Dev/Flex/source/flexjs/flex-asjs/examples/flexjs/MDLExample/src/main/flex/itemRenderers/CustomMenuItemRenderer.mxml(27): col: 42 Data binding will not be able to detect assignments to 'disabled'. <mdl:Disabled disabled="{menuItem.disabled}"/> Hope you could take a look. 3) This is more about organization: Could you as well separate the example to its own "Menus" page? I'd like to end removing the Others as we end polishing the MDLExample. Thanks for the new Menu, now it looks very "Flex" ! :) 2017-01-01 21:52 GMT+01:00 piotrz <piotrzarzyck...@gmail.com>: > Menu has been updated with dataProvider API. :) > > Menu class didn't change to much, because it's reusing ListView. I had to > change a bit one place in ListView where there were strand was casted to > List - I saw your comments Carlos in that place - we really need to think > about some interface in the future. > MenuItem was transformed to MenuItemRenderer. > > I was also spend bunch of time on creating Menu item renderer with sub > menu. > I put inside item renderer another Menu. :) Unfortunately sub menu do not > want to show. There is something which these sub menu do not like when it's > placed inside renderer. - If I won't find solution I will leave it for now > as it is and jump to another component. > > Piotr > > > > ----- > Apache Flex PMC > piotrzarzyck...@gmail.com > -- > View this message in context: http://apache-flex- > development.2333347.n4.nabble.com/FlexJS-MDL-Menu-with- > dataProvider-and-itemRenderer-API-tp57637p57724.html > Sent from the Apache Flex Development mailing list archive at Nabble.com. > -- Carlos Rovira Director General M: +34 607 22 60 05 http://www.codeoscopic.com http://www.avant2.es Este mensaje se dirige exclusivamente a su destinatario y puede contener información privilegiada o confidencial. Si ha recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente por esta misma vía y proceda a su destrucción. De la vigente Ley Orgánica de Protección de Datos (15/1999), le comunicamos que sus datos forman parte de un fichero cuyo responsable es CODEOSCOPIC S.A. La finalidad de dicho tratamiento es facilitar la prestación del servicio o información solicitados, teniendo usted derecho de acceso, rectificación, cancelación y oposición de sus datos dirigiéndose a nuestras oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la documentación necesaria.