当我试图编译我的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 &
在我的Xamarin Forms PCL中,我使用Caliburn.Micro.Xamarin.Forms来实现MVVM数据绑定。该项目的结构有一个viewModel和一个视图,数据绑定是这样完成的:在viewModel中
private BindableCollection<TempListItem> _temperatures;
public BindableCollection<TempListItem> Temperatures
{
get { return _temperatures; }
当页面从web获得初始数据时,我试图理解Xamarin表单中使用的模式。
该页面绑定到一个ViewModel。让我们使用这个简单的例子:
public class DataFeedViewModel : BaseViewModel
{
public DateFeedViewModel()
{
Title = "My Feed";
}
public List<FeedItem> Feed { get; set; }
}
DataFeedViewModel被绑定到页面:
public MainPage()
{
Initi