Since googleMap.setOnMyLocationChangeListener is deprecated what is the best way for checking the my current location continuously?
I couldn't find any answer.
Any help much appreciated.
In the documentation it is said:
use com.google.android.gms.location.FusedLocationProviderApi instead. FusedLocationProviderApi provides improved location finding and power usage and is used by the "My Location" blue dot. See the MyLocationDemoActivity in the sample applications folder for example example code, or the Location Developer Guide.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With