public static async void start(string URL) { Movies current = new Movies(); string responce = await Request.getInfo(URL); current = Json.deserializeJson(responce); Data.EventHandler(current); }
private async void showGroup(Movies current) { Movie temp = new Movie(); _movies = current.results; foreach (var value in _movies) { value.fullPosterPath += value.poster_path; value.fullBackdropPath += value.backdrop_path; temp = await InfoLoader.getMoreInfo(value.id); MovieInfo.Add(temp); value.overview = temp.overview; value.Vote_Average += "/10"; } gvMain.ItemsSource = _movies; }