Closed ice-cube-1 closed 12 months ago
Followed official codelab, conflicting gradle dependencies
Needs to do this repeatedly
Implemented a saved lat long in preferences plus a "set home button"
Should probably fix that however
to get current location working first need a location request, which I've implemented the docs code is completely incorrect in terms of how to initialize that though
written function to get location updates and code to get location result issue is the callback hasn't been initialized?
Fixed by switching order of function calls so the stuff in oncreate is before startlocationupdates is initialized Tested that - it works and updates far faster
Lots of different ways to get location, with only deprecated official tutorials and very confusing documentation