Ejemplo n.º 1
0
        private async Task CloseAsync(bool pushHistory)
        {
            if (_current != null)
            {
                await _current.Cancel();

                if (pushHistory)
                {
                    // ページ群遷移する前に、現在のページ群情報を履歴に残す。
                    _history.Push(_current.ToHisotry(CurrentPageKey));
                }

                _current = null;
            }
        }