public void SetBindings() { source.OnItemChanged += (o, e) => { source.LoadData(dataContext.Posts.ToList()); FeedCollectionView.ReloadData(); }; }
public FeedViewController(IntPtr handle) : base(handle) { dataContext = new FeedViewModel(CurrentUser.UserId); source = new FeedCollectionViewSource(CurrentUser.UserId); source.LoadData(dataContext.Posts.ToList()); Bindings = new List <Binding>(); }