我有两页。在第一个部分中,我希望看到ObservableCollection中的每个元素,而第二个元素则希望向ObservableCollection中添加新元素。当我给出断点时,我会看到ObservableCollection有新元素,但是当我返回到第一页时,新元素就不存在了。我该怎么办?
有代码
public ListViewFlascardViewModel()
{
GoToAddFlashcard = new Command(goToAddFlashcard);
Fiszka = new ObservableCollection&
当我试图编译我的Xamarin.iOS应用程序时,我会收到这个错误。我指的是Catel.MVVM和Catel.Fody。
知道该怎么做吗?
MTOUCH: error MT0034: Cannot include both 'monotouch.dll' and 'Xamarin.iOS.dll' in the same Xamarin.iOS project - 'Xamarin.iOS.dll' is referenced explicitly, while 'monotouch.dll' is referenced by &
在MVVMCross中是否有与MVVM的Messenger.Default实例(对于在Xamarin.iOS中不符合MVVM的独立项目)相当的内容。
在查看、、等线程之后
我决定将"MvvmCross Messenger“插件添加到PCL和iOS项目中。我想我必须注册集线器并从PCL和iOS项目中解析它,如下所示
// Registering in ViewDidLoad() of iOS project
Mvx.RegisterSingleton<IMvxMessenger>(new MvxMessengerHub());
// Try to resolve and s