Created
March 15, 2019 20:27
-
-
Save ralphpina/1a067c2dabaa4e442b06049ad654a2df to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
permissionsManager.request(Permission.Location.Fine) | |
.doOnSuccess { | |
Toast.makeText( | |
dataBinding.root.context, | |
"Permission result for ${it[0].permission.value}, given: ${it[0].isGranted()}", | |
Toast.LENGTH_SHORT | |
).show() | |
} | |
.subscribe() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment