On 2/18/17, 11:43 PM, "Harbs" <[email protected]> wrote:

>I think the idea was to swap out the view in initialView at runtime, but
>multiple children of initialView is not supported.
>
>I don’t know that swapping views was ever tested though.

Like everything else, even Application is PAYG.  Most apps I've seen have
a main view that doesn't change.  Instead, the contents of the main view
change via States and Navigators.  In regular Flex, the main view was the
Application so few folks ever tried to swap it.  Changing out initialView
might require additional code in other beads.

The compiler should, however, report an error when two or more values are
assigned to a property that doesn't accept it, so please file a bug for
that.

There is a StackedViewManager in the Mobile swc that MobileTrader uses
similar to how mobile apps had navigators for regular Flex.

HTH,
-Alex


Reply via email to