Paolo Montalto
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.

--

--

Paolo Montalto
Paolo Montalto

Written by Paolo Montalto

Android Engineer, freelance, mobile developer, software craftsman, guitar strummer, husband, father, humble.

No responses yet