Check the Mobile project - there are tab and view stack navigators there. There is also the MobileTrader example that uses them. They are sort-of iOS oriented since that's what I'm more familiar with. We may need to re-do these or have alternatives.
For layouts, there is also https://cwiki.apache.org/confluence/display/FLEX/FlexJS+Layout ‹peter On 9/28/17, 1:07 PM, "Piotr Zarzycki" <piotrzarzyck...@gmail.com> wrote: >Hi Nicolas, > >I believe my answer will only partially satisfy you. About containers >exists in FlexJS (Royale) you can read more here [1]. I would strongly >suggest look first on our examples [2]. We do not have ViewStack >container, >so I believe that is something which can be implemented and maybe pushed >to >our repository. We definitely suffer for a lack of documentation, when I >was started to dig into the framework I simply look into how actually each >component is implemented [3] - architecture is pretty clean in my opinion >and more composition oriented than inheritance. Quite helpful can be this >website [4] - That is the slight description about our main principle >PAYG. > >As for the components itself there are module Basic [3] which contains our >native components which should look same in SWF and JS, but as you >probably >know it is not fully true and not necessary should be. > >There is also module MDL [5][6][7][8] which is wrapper around existing >components + some implementation of some additional things like >"dataProvider" in List. Encourage you to look into the code of components >as I suggested it for Basic. This module do not have SWF representation - >it is simply compile to JS only. > > I hope we will be better and better with documentation and some day new >users will not have to dig into the code. I can say also from my >experience >that once you will figure out how everything is working productivity is >quite good. > >[1] >https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcwiki.apa >che.org%2Fconfluence%2Fdisplay%2FFLEX%2FFlexJS%2BContainer%2BClasses%2Band >%2BLayouts&data=02%7C01%7C%7Ce5dcc3bc16254ffe7b5908d506936eef%7Cfa7b1b5a7b >34438794aed2c178decee1%7C0%7C0%7C636422152677765093&sdata=eB31XB%2B5jt4bjr >kZom9TbpkyoIOWZa9DnPXSLdEOy54%3D&reserved=0 >[2] >https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.co >m%2Fapache%2Froyale-asjs%2Ftree%2Fdevelop%2Fexamples%2Fflexjs&data=02%7C01 >%7C%7Ce5dcc3bc16254ffe7b5908d506936eef%7Cfa7b1b5a7b34438794aed2c178decee1% >7C0%7C0%7C636422152677765093&sdata=pG0%2BZ6pIwxeb9TA%2Fg6enSFhXj%2Fz5M6GmU >BexB21VDFs%3D&reserved=0 >[3] >https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.co >m%2Fapache%2Froyale-asjs%2Ftree%2Fdevelop%2Fframeworks%2Fprojects%2FBasic% >2Fsrc%2Fmain%2Fflex%2Forg%2Fapache%2Fflex%2Fhtml&data=02%7C01%7C%7Ce5dcc3b >c16254ffe7b5908d506936eef%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636 >422152677765093&sdata=iN%2F36SoXPgkt%2F6Ts5sKO%2B1JW2lUIkhw4nQetJc4i6%2F4% >3D&reserved=0 >[4] >https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcwiki.apa >che.org%2Fconfluence%2Fpages%2Fviewpage.action%3FpageId%3D71013028&data=02 >%7C01%7C%7Ce5dcc3bc16254ffe7b5908d506936eef%7Cfa7b1b5a7b34438794aed2c178de >cee1%7C0%7C0%7C636422152677765093&sdata=Gt801I2YajwV9zEQWbDt3ql8Ru9iYZA%2F >tenzF5l3ygs%3D&reserved=0 >[5] >https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.co >m%2Fapache%2Froyale-asjs%2Ftree%2Fdevelop%2Fframeworks%2Fprojects%2FMateri >alDesignLite%2Fsrc%2Fmain%2Fflex%2Forg%2Fapache%2Fflex%2Fmdl&data=02%7C01% >7C%7Ce5dcc3bc16254ffe7b5908d506936eef%7Cfa7b1b5a7b34438794aed2c178decee1%7 >C0%7C0%7C636422152677765093&sdata=lzyD34EFykiTkbT0LMuscyq9JXYjfXXImqq7IPqZ >Ywg%3D&reserved=0 >[6] >https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.co >m%2Fapache%2Froyale-asjs%2Ftree%2Fdevelop%2Fexamples%2Fflexjs%2FMDLExample >&data=02%7C01%7C%7Ce5dcc3bc16254ffe7b5908d506936eef%7Cfa7b1b5a7b34438794ae >d2c178decee1%7C0%7C0%7C636422152677765093&sdata=BunX2AglKjbltW2POdrQFY9Cux >ZWokwQeb8fAb5%2FgUI%3D&reserved=0 >[7] >https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgetmdl.io >%2Fcomponents%2Findex.html&data=02%7C01%7C%7Ce5dcc3bc16254ffe7b5908d506936 >eef%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636422152677765093&sdata= >bVjUrkXoe4u1vkossvp844GERrbfHn3VJgacRm4mIDE%3D&reserved=0 >[8] >https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcwiki.apa >che.org%2Fconfluence%2Fdisplay%2FFLEX%2FTable%2BOf%2BComponents&data=02%7C >01%7C%7Ce5dcc3bc16254ffe7b5908d506936eef%7Cfa7b1b5a7b34438794aed2c178decee >1%7C0%7C0%7C636422152677765093&sdata=Xe9Nunps2jBV4v9z%2BkLFyJunSdHSDYt76jG >c%2BjY1whs%3D&reserved=0 > >Thanks, Piotr > > >2017-09-28 17:58 GMT+02:00 Idylog - Nicolas Granon <ngra...@idylog.com>: > >> We need to « re-implement » a ViewStack container component class for >>use >> in >> a FlexJS (test) project. >> >> Is there a general walkthrough explaining (in details) the principles >>when >> creating a container component for FlexJS (we are mostly interested in >>the >> js output, not SWF). >> >> We have read the docs at >> >>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcwiki.ap >>ache.org%2Fconfluence%2Fdisplay%2FFLEX%2FCreating%2BComponents&data=02%7C >>01%7C%7Ce5dcc3bc16254ffe7b5908d506936eef%7Cfa7b1b5a7b34438794aed2c178dece >>e1%7C0%7C0%7C636422152677765093&sdata=YQ2T0%2FTyeOsyDtuMiogEIm00v0yGj6gOd >>MHpqDWn9yY%3D&reserved=0 but >> it >> is rather control-oriented (textInput, SliderŠ). >> >> We also plan to have TabNavigator etc. but I believe that we can >>recreate a >> ViewStack container, creating other containers won¹t be so difficult. >> >> Also, is there some document around explaining how to implement layout >> containers ? (as opposed to navigation containers). >> >> Or maybe we do not have the correct approach and reimplementing MX >> components does not fit in the ³FlexJS² philosophy ? >> >> Many thanks in advance >> >> Nicolas Granon >> >> >> >> >> > > >-- > >Piotr Zarzycki > >mobile: +48 880 859 557 >skype: zarzycki10 > >LinkedIn: >https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.linked >in.com%2Fpiotrzarzycki&data=02%7C01%7C%7Ce5dcc3bc16254ffe7b5908d506936eef% >7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636422152677765093&sdata=nqBu >EvEeyYpZdhZAg7hsEP0O4N1Xd0gG3qQP7MKZP%2BA%3D&reserved=0 ><https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpl.linke >din.com%2Fin%2Fpiotr-zarzycki-92a53552&data=02%7C01%7C%7Ce5dcc3bc16254ffe7 >b5908d506936eef%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6364221526777 >65093&sdata=3THr%2B70zEybrm5d6eOg05sF9L0ycReIul4eA6ibtCYI%3D&reserved=0> > >GitHub: >https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.co >m%2Fpiotrzarzycki21&data=02%7C01%7C%7Ce5dcc3bc16254ffe7b5908d506936eef%7Cf >a7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636422152677765093&sdata=vmw%2BJ >toHnT3pqGCb2Oni2XVqMY9nX35lu8Rz9lKkQtU%3D&reserved=0