Reputation: 7634
One of the basic design principles of the Metro design language (I'm sorry, Windows 8 style UI) is the principle of motion. One of the reasons for this is that loading can occur while the animation is being run. Great idea.
Now, how are you supposed to load anything (say, from a REST server or from isolated storage) while this animation is running? I guess this won't be possible before the page in question starts its "in"-transition, but how do I start loading already at the beginning of this animation?
Upvotes: 2
Views: 336
Reputation: 480
From what i checked(Contructor, Page_Loaded, OnNavigatedTo) constructor is beeing called first and Page_Loaded last. starting async load task in constructor might work.
Other idea that comes to my head is starting AsyncTask before invokin Naviagte to the page. If you want to do it on starting page of application I would try starting loading in App constructor.
Upvotes: 1