private async void LoadMovie(VideoDetailsMovie movie, bool loadDetails) { if (loadDetails) { Movie = await App.Context.Connection.Kodi.VideoLibrary.GetMovieDetailsAsync(movie.MovieId); } else { Movie = movie; } NotifyPropertyHasChanged(nameof(Movie)); LoadThumbailUrl(Movie.Thumbnail); }
public ExtendedVideoDetailsMovie(VideoDetailsMovie movie, bool loadDetails) : base(null, "ms-appx:///Assets/Default/DefaultMovieSmall.png") { LoadMovie(movie, loadDetails); }