*Hi Friends,** Deferred instantiation is great.*

If the children of the ViewStack or TabNavigator are few and simple, then
instead of jumping through hoops trying to deal with deferred instantiation
in the framework, be a slacker and  simply set *creationPolicy=all* in your
ViewStack and be done with it. All the children will be available when on
creationComplete and you can just attach your Mediators.



*This advice is only for the simplest cases!!! *Deferred instantiation is
the default behavior because *it is expected that you want the most optimal
startup experience*. And if you have a ViewStack with many children it may
take a long time to instantiate them, leading to a slower perceived response
time. And since the user may never navigate to these children, it is
wasteful of memory as well.


On Wed, Sep 29, 2010 at 7:29 PM, vincent <[email protected]> wrote:

> hi Friends
>
>
>
>
> 1.       what is the merit and demerit of using *creation Policy="all" in
> *TabNavigator**
>
>
>
> --
> Regards,
>
> Vincent P
>



-- 
Thanks & Regards,
(¨`•.•´¨) Always
`•.¸(¨`•.•´¨) Keep
(¨`•.•´¨)¸.•´ Smiling!!
`•.¸.•´
With Love´¨)
  ¸ •´ ¸.•*´¨)   ¸.•*¨)
(¸.•´      (¸.•*      ♥♥♥...♪♪♪..... நித்தியானந்தன் சுந்தரேசன்

(M) : +91 98400 91207

-- 
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en.

Reply via email to