title: I am trying to getting current location using FusedLocationApi
body: <p>i am trying to getting current location using fused location API.</p>
  
  <pre><code>private void setInitialLocation() {
  
  
          if (ActivityCompat.checkSelfPermission(getActivity(), android.Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED &amp;&amp; ActivityCompat.checkSelfPermission(MainActivity.this, android.Manifest.permission.ACCESS_COARSE_LOCATION) != PackageManager.PERMISSION_GRANTED) {
              // TODO: Consider calling
              //    ActivityCompat#requestPermissions
              // here to request the missing permissions, and then overriding
              //   public void onRequestPermissionsResult(int requestCode, String[] permissions,
              //                                          int[] grantResults)
              // to handle the case where the user grants the permission. See the documentation
              // for ActivityCompat#requestPermissions for more details.
              return;
          }
  
          LocationServices.FusedLocationApi.requestLocationUpdates(googleApiClient, request, new LocationListener(){
              @Override
              public void onLocationChanged(Location location) {
  
  
                  mLastLocation = location;
  
                  try {
  
                  } catch (Exception ex) {
  
                      ex.printStackTrace();
                      Log.e("MapException", ex.getMessage());
  
                  }
  
              }
          });
      }
  </code></pre>
  
  <p>android studio giving this error </p>
  
  <blockquote>
    <p>Class 'Annonymous class derived from LocationListener' must either be
    declared abstract or implement abstract method.</p>
  </blockquote>
  
  <p>while i am implementing all the abstract method of Location Listener.</p>