コード例 #1
0
 protected override void OnNavigatedFrom(NavigationEventArgs e)
 {
     loadingTip.Visibility = Visibility.Collapsed;
     _channelFactory.Cancel();
     _tagFactory.Cancel();
     if (e.NavigationMode == NavigationMode.Back)
     {
         _channelViewModel.Groups.PerformanceClear();
     }
 }
コード例 #2
0
        private void LoadDatas(bool isLoadTag)
        {
            loadingTip.Visibility = Visibility.Collapsed;

            _currentPage = 0;
            _maxPage     = 2;

            _channelViewModel.PerformanceClear();
            _tagFactory.Cancel();
            _channelFactory.Cancel();

            if (isLoadTag)
            {
                _tagFactory.DownLoadDatas(_typeId, TagDimension.Catalog);
            }
            RequestDatas();
        }