public void Reset() { if (_answerView == null) { BuildViews(); } else { _answerView.Alpha = 1; _targetWord.Alpha = 1; _nativeWord.Alpha = 1; GetNextVocabulary(); _answerView.Reset(); _answerView.Hidden = true; } if (_testNative) { RestoreViewFromTestAgainstNative(); } else { RestoreViewFromTestAgainTarget(); } }
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(); } }