예제 #1
0
        /// <summary>
        /// Ons the pause.
        /// </summary>
        /// <returns>The pause.</returns>
        protected override void OnPause()
        {
            base.OnPause();

            if (_presenter != null)
            {
                _presenter.ReleaseView();
            }
        }
예제 #2
0
        /// <summary>
        /// Called when view is disposed.
        /// </summary>
        /// <returns>The did unload.</returns>
        public override void ViewDidUnload()
        {
            base.ViewDidUnload();

            _presenter.ReleaseView();
        }