title: Builder (android.content.Context) In builder cannot be appllied to?
body: <p>I'm trying to implement Google Places API into my app and I'm currently getting this in my error log when trying to run the application. </p>
  
  <pre><code>Error:(23, 28) error: no suitable constructor found for Builder(menu_1_fragment)
  constructor Builder.Builder(Context,ConnectionCallbacks,OnConnectionFailedListener) is not applicable
  (actual and formal argument lists differ in length)
  constructor Builder.Builder(Context) is not applicable
  (actual argument menu_1_fragment cannot be converted to Context by method invocation conversion)
  </code></pre>
  
  <p>Now i'm trying to implement Google maps into a fragment that I have created that will display my app. I also want to include places API, Do I need to create a separate class for google maps or can I include this code like i'm currently doing into my fragment class? </p>
  
  <pre><code>    public class menu_1_fragment  extends Fragment {
      MapView mapView;
      GoogleMap map;
  
      private GoogleApiClient mGoogleApiClient;
      @Override
      public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
          View v = inflater.inflate(R.layout.menu1_layout, container, false);
          //--Snippet
          mGoogleApiClient = new GoogleApiClient
                  .Builder(this)
                  .enableAutoManage(this, 0, this)
                  .addApi(Places.GEO_DATA_API)
                  .addApi(Places.PLACE_DETECTION_API)
                  .addConnectionCallbacks(this)
                  .addOnConnectionFailedListener(this)
                  .build();
          return v;
      }
  
      @Override
      public void onStart() {
          super.onStart();
          if (mGoogleApiClient != null)
              mGoogleApiClient.connect();
      }
  
      @Override
      public void onStop() {
          if (mGoogleApiClient != null &amp;&amp; mGoogleApiClient.isConnected()) {
              mGoogleApiClient.disconnect();
          }
          super.onStop();
      }
  }
  </code></pre>
  
  <p>The error is occurring on <code>.Builder(this)</code> </p>
  
  <p>Edit: Modified code </p>
  
  <pre><code>`package com.examples.blahblah.blahblah;
  
  import android.app.Activity;
  import android.app.Fragment;
  import android.content.Context;
  import android.os.Bundle;
  import android.view.LayoutInflater;
  import android.view.View;
  import android.view.ViewGroup;
  import android.support.v4.app.FragmentActivity;
  
  import com.google.android.gms.common.ConnectionResult;
  import com.google.android.gms.common.api.GoogleApiClient;
  import com.google.android.gms.location.places.Places;
  import com.google.android.gms.maps.GoogleMap;
  import com.google.android.gms.maps.MapView;
  
  
  public class menu_1_fragment  extends Fragment implements GoogleApiClient.OnConnectionFailedListener {
      MapView mapView;
      GoogleMap map;
  
      private Context mContext;
      @Override
      public void onAttach(final Activity activity) {
          super.onAttach(activity);
          mContext = activity;
      }
  
  
  
  
      private GoogleApiClient mGoogleApiClient;
      @Override
      public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
          View v = inflater.inflate(R.layout.menu1_layout, container, false);
          //--Snippet
          mGoogleApiClient = new GoogleApiClient
                  .Builder(mContext )
                  .enableAutoManage(this, 0, this)
                  .addApi(Places.GEO_DATA_API)
                  .addApi(Places.PLACE_DETECTION_API)
                  .addConnectionCallbacks(this)
                  .addOnConnectionFailedListener(this)
                  .build();
          return v;
      }
  
      @Override
      public void onStart() {
          super.onStart();
          if (mGoogleApiClient != null)
              mGoogleApiClient.connect();
      }
  
      @Override
      public void onStop() {
          if (mGoogleApiClient != null &amp;&amp; mGoogleApiClient.isConnected()) {
              mGoogleApiClient.disconnect();
          }
          super.onStop();
      }
  
      @Override
      public void onConnectionFailed(ConnectionResult connectionResult) {
  
      }
  }
  `
  </code></pre>
  
  <p>The new error is now occurring on </p>
  
  <pre><code>   .enableAutoManage(this, 0, this)
  </code></pre>
  
  <p>and telling me it's the wrong first argument type? </p>