// Path: placesautocomplete/src/main/java/com/seatgeek/placesautocomplete/network/PlacesHttpClient.java
// public interface PlacesHttpClient {
//     PlacesAutocompleteResponse executeAutocompleteRequest(Uri uri) throws IOException;
// 
//     PlacesDetailsResponse executeDetailsRequest(Uri uri) throws IOException;
// }
// 
// Path: placesautocomplete/src/main/java/com/seatgeek/placesautocomplete/network/PlacesHttpClientResolver.java
// public final class PlacesHttpClientResolver {
//     public static final PlacesHttpClient PLACES_HTTP_CLIENT;
// 
//     static {
//         boolean hasOkHttp;
// 
//         try {
//             Class.forName("com.squareup.okhttp.OkHttpClient");
//             hasOkHttp = true;
//         } catch (ClassNotFoundException e) {
//             hasOkHttp = false;
//         }
// 
//         PlacesApiJsonParser parser = JsonParserResolver.JSON_PARSER;
// 
//         PLACES_HTTP_CLIENT = hasOkHttp ? new OkHttpPlacesHttpClient(parser) : new HttpUrlConnectionMapsHttpClient(parser);
//     }
// 
//     private PlacesHttpClientResolver() {
//         throw new RuntimeException("No Instances!");
//     }
// }


import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.text.TextUtils;
import com.seatgeek.placesautocomplete.network.PlacesHttpClient;
import com.seatgeek.placesautocomplete.network.PlacesHttpClientResolver;
package com.seatgeek.placesautocomplete;



public class PlacesApiBuilder {

    @Nullable
// Path: placesautocomplete/src/main/java/com/seatgeek/placesautocomplete/network/PlacesHttpClient.java
// public interface PlacesHttpClient {
//     PlacesAutocompleteResponse executeAutocompleteRequest(Uri uri) throws IOException;
// 
//     PlacesDetailsResponse executeDetailsRequest(Uri uri) throws IOException;
// }
// 
// Path: placesautocomplete/src/main/java/com/seatgeek/placesautocomplete/network/PlacesHttpClientResolver.java
// public final class PlacesHttpClientResolver {
//     public static final PlacesHttpClient PLACES_HTTP_CLIENT;
// 
//     static {
//         boolean hasOkHttp;
// 
//         try {
//             Class.forName("com.squareup.okhttp.OkHttpClient");
//             hasOkHttp = true;
//         } catch (ClassNotFoundException e) {
//             hasOkHttp = false;
//         }
// 
//         PlacesApiJsonParser parser = JsonParserResolver.JSON_PARSER;
// 
//         PLACES_HTTP_CLIENT = hasOkHttp ? new OkHttpPlacesHttpClient(parser) : new HttpUrlConnectionMapsHttpClient(parser);
//     }
// 
//     private PlacesHttpClientResolver() {
//         throw new RuntimeException("No Instances!");
//     }
// }


// Path: placesautocomplete/src/main/java/com/seatgeek/placesautocomplete/PlacesApiBuilder.java
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.text.TextUtils;
import com.seatgeek.placesautocomplete.network.PlacesHttpClient;
import com.seatgeek.placesautocomplete.network.PlacesHttpClientResolver;

package com.seatgeek.placesautocomplete;



public class PlacesApiBuilder {

    @Nullable
    private PlacesHttpClient apiClient;