Example #1
0
        /// <summary>
        /// Loads the "my applications" list and displays it, loading additional data from feeds in the background.
        /// </summary>
        private void UpdateAppListAsync()
        {
            if (appListWorker.IsBusy)
            {
                return;
            }

            var tiles = _tileManagement.UpdateMyApps();

            appListWorker.RunWorkerAsync(tiles);
        }
Example #2
0
        /// <summary>
        /// Loads the "My apps" list and displays it, loading additional data from feeds in the background.
        /// </summary>
        private async void UpdateAppListAsync()
        {
            foreach (var tile in _tileManagement.UpdateMyApps())
            {
                var feed = await Task.Run(() => _tileManagement.LoadFeedSafe(tile.InterfaceUri));

                if (feed != null)
                {
                    tile.Feed = feed;
                }
            }
        }