Reputation: 790
is there any way to call method or set propery of the previous page in the stack? Say I started a thread in the A page, then navigated to page B, now my application is going to be deactivated and I want to take care of the thread started in the page A, I want to call a method of A that will save thread job's some parameters. Thank you.
Upvotes: 2
Views: 444
Reputation: 84734
You cannot call a method on a previous page.
You should be deactivating the thread when you leave page A. If that doesn't work for your application, then the thread is an application-level feature and should be created/deactivated in Application class.
Upvotes: 1