public void Clear() { this.pupil = null; nameLabel.Text = ""; titleLabel.Text = ""; companyLabel.Text = ""; bioTextView.Text = ""; image.Image = null; this.View.LayoutSubviews(); // show the grey 'no speaker' message }
// for masterdetail public void Update(int patientId) { speakerId = patientId; this.pupil = DataManager.GetPupil(speakerId); Update(); this.View.LayoutSubviews(); }