private void UpdateItem() { foreach (var content in ((ContentListPageViewModel)BindingContext).ContentList) { var item = new ContentItem { BindingContext = content }; ContentListView.Add(item); } }
private void UpdateItem() { foreach (DetailContentData content in ((ContentListPageViewModel)BindingContext).ContentList) { ContentItem item = new ContentItem() { BindingContext = content }; item.OnContentSelect += new ContentSelectHandler(ContentSelected); ContentListView.Add(item); } }