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