Пример #1
0
 /// <summary>
 ///     Called when the user navigates to the page
 /// </summary>
 protected override async void OnNavigatedTo(NavigationEventArgs e)
 {
     // Make sure the view is ready for the user
     // Track Event
     TelemetryService.Instance.TrackPage("Playlist View");
     await ViewModel.SetupView((BasePlaylist)e.Parameter);
 }
Пример #2
0
        /// <summary>
        ///     Called when the user navigates to the page
        /// </summary>
        protected override void OnNavigatedTo(NavigationEventArgs e)
        {
            //  var imageAnimation = ConnectedAnimationService.GetForCurrentView().GetAnimation("PlaylistImage");
            //   imageAnimation?.TryStart(PlaylistImageHolder, new[] { TitlePanel });

            // Make sure the view is ready for the user
            // Track Event
            SimpleIoc.Default.GetInstance <ITelemetryService>().TrackPage("Playlist View");
            ViewModel.SetupView((BasePlaylist)e.Parameter);
        }