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 g开发者_如何学Coing 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.
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.
精彩评论