flash - viewstacks vs states in flex? -


I have an app that I am currently using a view stack to display each page and I wonder if this is the right way to go, or I should use different states (or something).

The site operates with the Top bar of Home, Devices, Support by the menu bar. Below the Tools menu, there is a submenu with Tool 1, Tool 2, Tool 3. Currently, when the user clicks on any tool in the tool submenu, I bring each child container to the viewstack (each child is actually in a separate component).

Is this the right way to go, or should I use the states to bring the appropriate elements for each device page?

It depends on how different it is if they are very similar, then the states are good because They help effectively re-use many markups already defined in the base component. If they have very different ideas, then it will be difficult for other developers to maintain it because it is not as simple as individual components for each scene.

In addition to the use of the ViewStack, it allows for the urgent to be temporarily controlled by the "creation policy" attribute D means that your app will load faster because only the first of the Walkstock The child will be an intestinal institution as you navigate for other children, they will be urgent upon demand.


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -