You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -18,10 +18,10 @@ Here's a minimum example that you register `MainActivity` which requires `Manife
18
18
19
19
There are only few annotations.
20
20
21
-
-`@RuntimePermissions`: [Must]Register an Activity or Fragment to handle permissions.
22
-
-`@NeedsPermission`: [Must]Register a method which the permission is needed.
21
+
-`@RuntimePermissions`: Register an Activity or Fragment to handle permissions.
22
+
-`@NeedsPermission`: Register a method which the permission is needed.
23
23
- You can use `@NeedsPermissions` for multiple requests.
24
-
-`@ShowsRationale`: [Option]Register a method which explains why the permission is needed. Actually an annotated method is called when `shouldShowRequestPermissionRationale` returns true or when uer deny a permission.
24
+
-`@ShowsRationale`: Register a method which explains why the permission is needed. Actually an annotated method is called when `shouldShowRequestPermissionRationale` returns true.
25
25
- You can use `@ShowsRationales` for multiple requests.
26
26
27
27
> NOTE: Annotated methods must be package private or above.
0 commit comments