Windows Phone 8 OnActivate and OnDeactivate

Topics: Bootstrappers & IoC
Feb 11, 2013 at 8:54 PM
Hey all,

I would like to get some information about working of OnActivate and OnDeactivate methods within the PhoneBootstrapper.

I derive my own Bootstrapper from PhoneBootstrapper and in the overridden Configure I do:
            container = new PhoneContainer(RootFrame);
and I override the OnActivate and OnDeactivate from the base class too. I want to release some resources and renew them whit this. But using the Windows button and after that the Back button (with some delay) did not activate neither the OnDeactivate nor the OnActivate and I can not release/renew my resources and get the wrong behavior in the app.

Am I doing something wrong? Or what can I do instead this?