Sure.  States can be very useful, but I reserve them for more minor changes
the content of a component.  They are very powerful, but messy to code and
understand, compared to a viewstack.  And I do see occasional reports of
strange behaviors interactions with them.

 

Tracy Spratt,

Lariat Services, development services available

  _____  

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Penny Laus
Sent: Saturday, January 23, 2010 6:01 PM
To: flexcoders@yahoogroups.com
Subject: [SPAM] Re: [SPAM] Re: [SPAM] [flexcoders] TabNavigator switches to
second tab when revealed after a currentState change

 

  

 

On Sun, Jan 24, 2010 at 1:40 AM, Tracy Spratt <tr...@nts3rd.
<mailto:tr...@nts3rd.com> com> wrote:

  

A ViewStack is simply a way to switch between components.  It has no visible
presence of its own.  The children of a ViewStack can be anything (in some
container), including a full TabNavigator.  You can nest ViewStacks as
desired.

 

Thanks very much for your suggestions - it's working beautifully now. And,
as you say, there's no reason not to put a full TabNavigator within the
ViewStack.

Have a good weekend.

-- PL

 



Reply via email to