Example #1
0
        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);
        }
Example #2
0
        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;
        }