我在xamarin.android中接收firebase pushnification。收到时,我想打开我的xamarin.forms应用程序的特定内容页面。
我使用
Xamarin.Forms.Application.Current.MainPage.Navigation.PushAsync(new ShowAlert(null));
" ShowAlert"是我要打开的页面。
" Showalert"的构造函数被称为执行,但页面没有打开。缺少什么?
感谢您的帮助!
您是从UI线程调用pushAsync吗?device.begininvokeonuithread。