Skip to content

Instantly share code, notes, and snippets.

@ralphpina
Created March 15, 2019 20:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ralphpina/1a9abde954b9e7cd0f1a7b965d4424e4 to your computer and use it in GitHub Desktop.
Save ralphpina/1a9abde954b9e7cd0f1a7b965d4424e4 to your computer and use it in GitHub Desktop.
permissionsManager.observe(Permission.Location.Fine)
.doOnNext {
println("Fine location granted: ${it[0].isGranted()}")
}
.subscribe()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment