Ejemplo n.º 1
0
        protected override UITableViewCell GetOrCreateCellFor(UITableView tableView, NSIndexPath indexPath, object item)
        {
            var cell = tableView.DequeueReusableCell(RouteCell.Key) as RouteCell;

            if (cell == null)
            {
                cell = RouteCell.Create();
            }

            cell.ViewModel = item as RouteItem;

            return(cell);
        }