我想在 mvvmcross 上使用名为 rg.plugin.popup 的插件创建一个弹出窗口,但不知道如何实现它。我已经在常规 xamarin.form 上尝试过它并且它有效。
这是我试图在 MVVMCross 上导航的内容:
public IMvxCommand OnFilterLabel
{
get
{
return new MvxCommand(async() =>
{
await Navigation.PushPopupAsync(new FilterAttendPopup());
MessagingCenter.Subscribe<Attendance>(this, "ReceiveData", (value)=> { });
});
}
}
但我收到此错误:“错误 CS0103 当前上下文中不存在名称‘导航’”
非常感谢您的帮助^_^