/// <summary>
        /// Ons the pause.
        /// </summary>
        /// <returns>The pause.</returns>
        protected override void OnPause()
        {
            base.OnPause();

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

            _presenter.ReleaseView();
        }