开发者

WP7 PhotoChooserTask causes app to reload

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜