public void UpdateStatus(PersonContact person) { if (person.SelectedContact) { //imgStatus.BackgroundColor = UIColor.Green; imgStatus.Image = UIImage.FromBundle("check-mark-black"); } if (!person.SelectedContact) { //imgStatus.BackgroundColor = UIColor.Blue; imgStatus.Image = null; } }
public void UpdateCell(PersonContact person) { lblName.Text = $"{person.GivenName} {person.FamilyName}"; UpdateStatus(person); //imgStatus.BackgroundColor = UIColor.Black; }