title: Now that FusedLocationApi is deprecated how can i implement FusedLocationProvideClient when i also have location listener?
body: <p>I'm building a class that tracks orders origin to deliver packages, im getting an error message that states that <code>FusedLocationProviderApi</code> is deprecated and seems now i have to use <code>FusedLocationProviderClient</code> instead, when i applied <code>FusedLocationProviderApi</code> i also implemented a <code>LocationListener</code> a <code>ConnectionCallback</code> and <code>GoogleaApiClient</code> which i suppose should be removed.</p>
  
  <p>how can i implemente this here</p>
  
  <pre><code>  protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_tracking_order);
  
      if(ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED
              &amp;&amp; ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_COARSE_LOCATION) != PackageManager.PERMISSION_GRANTED)
      {
          requestRuntimePermission();
  
  
      }
      else
      {
          if (checkPlayServices())
          {
              buildGoogleApiClient();
              createLocationRequest();
          }
      }
      displayLocation();
  
  
  
  
  }
  
  private void displayLocation() {
      if(ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED
              &amp;&amp; ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_COARSE_LOCATION) != PackageManager.PERMISSION_GRANTED)
      {
          requestRuntimePermission();
  
  
      }
      else
      {
          mLastLocation = LocationServices.fused(null).getLastLocation(mGoogleApiClient);
          if (mLastLocation != null)
          {
              double latitude = mLastLocation.getLatitude();
              double longitude = mLastLocation.getLongitude();
  
              LatLng yourLocation = new LatLng(latitude,longitude);
              mMap.addMarker(new MarkerOptions().position(yourLocation).title("Tu ubicacion"));
              mMap.moveCamera(CameraUpdateFactory.newLatLng(yourLocation));
              mMap.animateCamera(CameraUpdateFactory.zoomTo(17.0f));
          }
          else
          {
              Toast.makeText(this, "No se pudo obtener ubicacion", Toast.LENGTH_SHORT).show();
          }
      }
  }
  </code></pre>