Today I’ve found an issue with Fast App Switching in Windows Phone 8 while using MvvmCross.
The main problem is that MvvmCross navigation model will not be enough to make it work. When resuming the app, MvvmCross will correctly load the view and the viewmodel. However, the system will launch a navigating event that won’t be handled by MvvmCross and you will end up with a navigation error or a view loaded without datacontext, depending on your app’s configuration, as the navigation event that the system will launch will be directing your navigation to whatever page you have set in your project’s WMAppManifest.xml file.
Have you found this error when developing your application and you don’t know why? Look carefully for any literal in your XAML and surely you will find an undesired white space. Remove it and you’re free to go on.
Today I needed to load some external xaml into a custom control I was working on. During my search for ways to accomplish the task I’ve found some information, but most of the time it was not really useful. That’s why I will try to expose in this post the options you’ve got to do the job and, finally, I will show you how I solved the situation using a converter.
The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.