Skip to content

Instantly share code, notes, and snippets.

@hamurcuabi
Created April 14, 2022 18:07
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 hamurcuabi/1c714fdfb6425da56285f343e7e3dd0b to your computer and use it in GitHub Desktop.
Save hamurcuabi/1c714fdfb6425da56285f343e7e3dd0b to your computer and use it in GitHub Desktop.
fun Permission.launchSinglePermission(permission: String) {
this.result.launch(arrayOf(permission))
}
fun Permission.launchMultiplePermission(permissionList: Array<String>) {
this.result.launch(permissionList)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment