Hello. I'm doing an exercise with Google Location Service and I'm having 
trouble.

I'm writing an app which dumps user's coordinates on a TextView. The 
problem is, on Marshmallow, after the user tapped Allow on the permission 
dialog, the TextView does not get updated until the app is restarted.

Where did I go wrong?

The code: https://gist.github.com/starleaf1/10ffec3cf9f79538583d5b6dd28f3d0a
My question on StackOverflow: 
https://stackoverflow.com/questions/37610842/how-to-handle-onpermissionresult-for-access-fine-location-properly

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/35adb09b-329e-4e55-94ea-e00a157a12c6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to