delight-im / Android-SimpleLocation

Utility class for easy access to the device location on Android
Apache License 2.0
200 stars 75 forks source link

calculateDistance not found #25

Closed yogeshpaliyal closed 5 years ago

yogeshpaliyal commented 6 years ago

Method Calculate not found.

ocram commented 6 years ago

Don’t know how this could happen. If you look into the source code, you see that it’s really there:

What version did you use in your Gradle dependency for this library?

And what’s the code that you used to call the method? Something like the following?

SimpleLocation.calculateDistance(startLatitude, startLongitude, endLatitude, endLongitude);

// or

SimpleLocation.calculateDistance(startPoint, endPoint);