示例#1
0
 public CinemaDataCinema(GoogleLocationSearchResult.Result cinema, GoogleLocationDetailResult.Result cinemadetail)
 {
     this._cinema = cinema;
     this._cinemadetail = cinemadetail;
     SetImage(cinemadetail.icon);
     Items.CollectionChanged += ItemsCollectionChanged;
 }
示例#2
0
 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
             )
         );
 }
示例#3
0
 public CinemaDataCinema(GoogleLocationSearchResult.Result cinema)
 {
     this._cinema = cinema;
     SetImage(cinema.icon);
     Items.CollectionChanged += ItemsCollectionChanged;
 }