public override void ViewDidAppear(bool animated) { base.ViewDidAppear(animated); if(_answerView == null) _answerView = new AnswerView(new CGRect(0, 180, View.Bounds.Width, 220)) {Hidden = true}; _answerView.Reset(); _answerView.Hidden = true; if (_testNative) RestoreViewFromTestAgainstNative(); else RestoreViewFromTestAgainTarget(); }
void BuildViews() { if (_answerView == null) _answerView = new AnswerView(new CGRect(0, 180, View.Bounds.Width, 220)) {Hidden = true}; _answerView.ValidAnswer += HandleValidAnswer; View.Add(_answerView); }