private void OnCategorySelected(CategoryPreview categoryPreview)
        {
            _telemetryClient.TrackEvent(TelemetryEvents.CategoryPreviewSelected, new Dictionary <string, string>
            {
                {
                    TelemetryProperties.CategoryName, categoryPreview.Name
                }
            });

            SelectedCategoryPreview = categoryPreview;
            _navigationFacade.NavigateToPhotoStream(categoryPreview);
        }
Exemplo n.º 2
0
        /// <summary>
        /// Called when a photo has been uploaded successfully.
        /// </summary>
        /// <param name="category">The associated category.</param>
        public Task OnUploadFinished(Category category)
        {
            _navigationFacade.NavigateToPhotoStream(category);

            // Remove the frames related to uploading the photo for back button navigation
            _navigationFacade.RemoveUploadPhotoFramesFromBackStack(category.Id);

            return(Task.CompletedTask);
        }
Exemplo n.º 3
0
 private void OnCategorySelected(CategoryPreview categoryPreview)
 {
     SelectedCategoryPreview = categoryPreview;
     _navigationFacade.NavigateToPhotoStream(categoryPreview);
 }
 /// <summary>
 /// Action to take when a photo has been selected
 /// </summary>
 /// <param name="category">The category.</param>
 private void OnCategorySelected(Category category)
 {
     _navigationFacade.NavigateToPhotoStream(category);
 }