/// <summary>
        /// Gets the actual UITableViewCell to render for the particular section and row
        /// </summary>
        public override UITableViewCell GetCell(UITableView tableView, NSIndexPath indexPath)
        {
            //---- declare vars
            UITableViewCell cell = tableView.DequeueReusableCell(cellIdentifier);
            TableItem       item = indexedTableItems[keys[indexPath.Section]][indexPath.Row];

            if (cell == null)
            {
                // use a Subtitle cell style here
                cell = new UITableViewCell(UITableViewCellStyle.Subtitle, cellIdentifier);
            }

            //---- set the item text, subtitle and image/icon
            cell.TextLabel.Text       = item.Heading;
            cell.DetailTextLabel.Text = item.Album;
            cell.ImageView.Image      = UIImage.FromFile("Images/" + item.ImageName);

            // if the item is marked as a favorite, use the CheckMark cell accessory
            // otherwise (i.e. when false) use the disclosure cell accessory
            if (item.Singing)
            {
                cell.Accessory = UITableViewCellAccessory.Checkmark;
            }
            else
            {
                cell.Accessory = UITableViewCellAccessory.DisclosureIndicator;
            }
            return(cell);
        }
        public override UITableViewCell GetCell(UITableView tableView, NSIndexPath indexPath)
        {
            UITableViewCell cell = tableView.DequeueReusableCell(cellIdentifier);
            TableItem       item = indexedTableItems [keys [indexPath.Section]] [indexPath.Row];

            if (cell == null)
            {
                cell = new UITableViewCell(item.CellStyle, cellIdentifier);
            }

            cell.BackgroundColor = UIColor.Blue;
            cell.TextLabel.Text  = item.Heading;
            cell.Accessory       = UITableViewCellAccessory.DisclosureIndicator;
            return(cell);
        }
        /// <summary>
        /// Gets the actual UITableViewCell to render for the particular section and row
        /// </summary>
        public override UITableViewCell GetCell(UITableView tableView, NSIndexPath indexPath)
        {
            //---- declare vars
            UITableViewCell cell = tableView.DequeueReusableCell(cellIdentifier);
            TableItem       item = indexedTableItems[keys[indexPath.Section]][indexPath.Row];

            //---- if there are no cells to reuse, create a new one
            if (cell == null)
            {
                cell = new UITableViewCell(item.CellStyle, cellIdentifier);
            }

            // ----ser the item text
            cell.TextLabel.Text = item.Heading;

            // use the disclosure cell accessory
            cell.Accessory = UITableViewCellAccessory.DisclosureIndicator;

            return(cell);
        }