Skip to content

Instantly share code, notes, and snippets.

@NewtronLabs
Last active June 28, 2020 21:16
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 NewtronLabs/e5852a8def3053abb0fce2a71afacb21 to your computer and use it in GitHub Desktop.
Save NewtronLabs/e5852a8def3053abb0fce2a71afacb21 to your computer and use it in GitHub Desktop.
Easy Permissions Example 1 Kotlin
class ExampleService : Service() {
override fun onCreate() {
super.onCreate()
EasyPermissions.getInstance().requestPermissions(context, IPermissionsListener(
onCompleted = {
}
)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment