public CinemaDataCinema(GoogleLocationSearchResult.Result cinema, GoogleLocationDetailResult.Result cinemadetail) { this._cinema = cinema; this._cinemadetail = cinemadetail; SetImage(cinemadetail.icon); Items.CollectionChanged += ItemsCollectionChanged; }
public async Task<GoogleLocationDetailResult> FetchCinemaDetailsAsync(GoogleLocationSearchResult.Result cinema) { return JsonConvert.DeserializeObject<GoogleLocationDetailResult>( await GoogleRequest("https://maps.googleapis.com/maps/api/place/details/json?" + "key=AIzaSyC2xB1ebU-zMok06yqdFbLY_TjSF2LztmM&sensor=true" + "&reference=" + cinema.reference ) ); }
public CinemaDataCinema(GoogleLocationSearchResult.Result cinema) { this._cinema = cinema; SetImage(cinema.icon); Items.CollectionChanged += ItemsCollectionChanged; }