1 min readSep 30, 2020
I’ve just updated my post with code gists to make it easier to reusing my code sample.
In my code onRequestPermissionsResult is actually invoked on your Activity and I declared mGeoLocationCallback and mGeoLocationRequestOrigin in the Activity as well in order to make those accessible inside the onRequestPermissionsResult method.
Hope this makes it all clearer.