public override UITableViewCell GetCell(UITableView tableView, Foundation.NSIndexPath indexPath) { FeedItemViewCell cell = (FeedItemViewCell)tableView.DequeueReusableCell("RestaurantItemViewCell", indexPath); var restaurant = viewModel.Restaurants[indexPath.Row]; cell.ShowRestaurant(restaurant); return(cell); }
public override UITableViewCell GetCell(UITableView tableView, Foundation.NSIndexPath indexPath) { FeedItemViewCell cell = (FeedItemViewCell)tableView.DequeueReusableCell("FacilityItemViewCell", indexPath); var facility = viewModel.Facilities[indexPath.Row]; cell.ShowFacility(facility); return(cell); }
public override UITableViewCell GetCell(UITableView tableView, Foundation.NSIndexPath indexPath) { FeedItemViewCell cell = (FeedItemViewCell)tableView.DequeueReusableCell("RoomItemViewCell", indexPath); var room = viewModel.Rooms[indexPath.Row]; cell.ShowRoom(room); return(cell); }