On Mon, Jan 5, 2009 at 2:22 PM, endrone endrone <endr...@gmail.com> wrote:

> when you change a state, there's a enterState dispatched when a new state is
> shown.
> This is very handy for initializing the state.
>
> But does something similar exist for the tabNavigator? (enterState exists
> for a TabNavigator but doesn't work)
> What if you have several tabs and you want to initialize your tab view when
> changing?
> What are best practices?

There are some state-related events: currentStateChanging,
currentStateChange, enterState. Check the docs. There's also a change
event dispatched by the TabNavigator, and then there's the initialize
and creationComplete events dispatched by the individual child
containers.

Manish

-- 
http://manishjethani.com/

Reply via email to