Wednesday, 10 January 2018

LocationServices.FusedLocationApi.removeLocationUpdates(mGoogleApiClient, this); Tries to cast as com.google.android.gms.location.LocationListener)

  No comments
You're using the wrong import for LocationListener. You have:
import android.location.LocationListener;
which is the legacy LocationListener and not the Fused Location Provider's listener:
import com.google.android.gms.location.LocationListener;

No comments :

Post a Comment

Loading...