Пример #1
0
        /// <summary>
        /// Internally handles view showing process.
        /// </summary>
        protected virtual void ShowInternal(INavigationView view, bool checkActive)
        {
            if (checkActive && view.Active)
            {
                return;
            }
            view.Active = true;

            view.HideAnime?.Stop();

            OnShowView?.Invoke(view);

            view.OnPreShow();
            if (view.ShowAnime != null)
            {
                view.ShowAnime.PlayFromStart();
            }
            else
            {
                view.OnPostShow();
            }
        }