public override UITableViewCell GetCell(UITableView tv) { var cell = tv.DequeueReusableCell(ukey); if (cell == null) { cell = new UserCell(ukey) { SelectionStyle = UITableViewCellSelectionStyle.Blue, Accessory = UITableViewCellAccessory.DisclosureIndicator }; } ((UserCell)cell).UpdateFromUser(User); return(cell); }
public override UITableViewCell GetCell(UITableView tv) { var cell = tv.DequeueReusableCell (ukey); if (cell == null){ cell = new UserCell (ukey) { SelectionStyle = UITableViewCellSelectionStyle.Blue, Accessory = UITableViewCellAccessory.DisclosureIndicator }; } ((UserCell) cell).UpdateFromUser (User); return cell; }