Skip to content
This repository has been archived by the owner on Jun 19, 2024. It is now read-only.

Unhandled Exception on LeagueDetailsPage (resolution) #41

Closed
shainefisher opened this issue Sep 28, 2017 · 1 comment
Closed

Unhandled Exception on LeagueDetailsPage (resolution) #41

shainefisher opened this issue Sep 28, 2017 · 1 comment

Comments

@shainefisher
Copy link

As I build with VS 2017 15.4.0 Pre 2.0 I am having some random issues, here is a solution to one of them. When you click on the League to go to the Detail page (either to join or just view) the app crashes with an Unhandled Exception, the issue is with the CarouselView, well the data source. If you get this issue then the solution is easy enough, change LeagueDetailsViewModel (line 105, 106) to:

if(OngoingChallengeViewModels == null)
    OngoingChallengeViewModels = new ObservableCollection<ChallengeDetailsViewModel>() { **new ChallengeDetailsViewModel()** };

Solves the issue, and doesn't seem to have any major side effects.

@shainefisher
Copy link
Author

Closing as resolved, so the queue doesn't look horribly long.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant