How can I make sure all the components, even those that are 开发者_高级运维not going to be visible at the beginning, load right away when I start my application?
I have an application with a ViewStack whose visible child is set via a sidebar menu. Say the ViewStack has two children, A and B. A is initially visible, whereas B is not. How can I make sure they both load at the beginning, so that when I change to B I don't have to wait for it to load?
each of your viewstacks should have
creationPolicy = "all";
not sure if this can be set at the application level or not to control all children, but I know it works on viewstacks.
精彩评论