public void UpdateCell(SplitItem split) { AmountLabel.Text = string.Format("£{0:N}", split.Amount); NameLabel.Text = split.Name; LocationLabel.Text = split.Location; PersonImage.Image = SplitHelper.GenerateImage(PersonImage.Frame.Width, PersonImage.Frame.Height); }
public void UpdateCell(SplitItem split) { //TextLabel.Text = string.Format("£{0:N}", split.Amount); if (Amount != null) { Amount.Text = string.Format("£{0:N}", (split.Amount * split.SplitBetween)); } TextLabel.Text = split.Name; DetailTextLabel.Text = string.Format("Your share: £{0:N}", split.Amount); ImageView.Image = SplitHelper.GenerateImage(32, 32); }