Skip to content
This repository has been archived by the owner on Oct 3, 2024. It is now read-only.

Commit

Permalink
Update README.md (#185)
Browse files Browse the repository at this point in the history
  • Loading branch information
dcgavril authored and samtstern committed Dec 11, 2017
1 parent 2285fcc commit fd4d351
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ The example below shows how to request permissions for a method that requires bo
necessary. The request code provided should be unique to this request, and the method
can take any number of permissions as its final argument.
* Use of the `AfterPermissionGranted` annotation. This is optional, but provided for
convenience. If all of the permissions in a given request are granted, any methods
annotated with the proper request code will be executed. This is to simplify the common
convenience. If all of the permissions in a given request are granted, *all* methods
annotated with the proper request code will be executed(be sure to have an unique request code). The annotated method needs to be *void* and *without input parameters* (instead, you can use *onSaveInstanceState* in order to keep the state of your suppressed parameters). This is to simplify the common
flow of needing to run the requesting method after all of its permissions have been granted.
This can also be achieved by adding logic on the `onPermissionsGranted` callback.

Expand Down

0 comments on commit fd4d351

Please sign in to comment.