活动被破坏后可以进行导航

时间:2017-11-01 12:11:51

标签: xamarin.forms prism

我正在运行一些异步任务。 活动被销毁后,使用INavigationService进行导航是否安全?

我并不完全清楚Prism和Xamarin Forms中引发的内容。

以下是一个例子:

await SomeAsyncTask();

// Suppose at this point, Activity was destroyed
// This means no UI. I'm not sure what's the state of Xamarin.Forms.Application at this point and everything else in Prism
_navigationService.NavigateAsync(...);

0 个答案:

没有答案