开发者

WP7 PhotoChooserTask causes app to reload

开发者 https://www.devze.com 2023-02-01 22:19 出处:网络
After selecting a photo using the PhotoChooserTask my entire app seems to be reloading.Anybody else seei开发者_开发百科ng this problem or know if its just a debugging issue?

After selecting a photo using the PhotoChooserTask my entire app seems to be reloading. Anybody else seei开发者_开发百科ng this problem or know if its just a debugging issue?

I was able to recreate this behavior in a simple app with one page, but where it really is apparent is in an MVVM project I'm working on when I see my entire ViewModelLocator class being recreated.


Why do you mean by reloading?

Maybe you mean that your app is tombstoning? This is a design pattern. More info about lifecycle


Start here: understanding the windows phone application... Every time your screen is switched with another screen your application is terminated. It gets tombstoned when it's an 'intrusion' but could could dropped completely.

0

精彩评论

暂无评论...
验证码 换一张
取 消