Karumi / Dexter

Android library that simplifies the process of requesting permissions at runtime.
http://karumi.com
Apache License 2.0
5.23k stars 671 forks source link

Snackbar on permanently denied permission Listener #260

Closed JcMinarro closed 4 years ago

JcMinarro commented 4 years ago

:tophat: What is the goal?

Provide an implementation of PermissionListener that show a Snackbar only when any permission has been permanently denied

:memo: How is it being implemented?

-. Extract common behavior of the "Snackbar listener" implementation -. Create SnackbarOnAnyPermanentlyDeniedMultiplePermissionsListener that shows a Snackbar whenever a permission of the requested list of permissions has been permanently denied -. Create SnackbarOnPermanentlyDeniedPermissionListener that shows a Snackbar whenever a permission has been permanently denied

:robot: How can it be tested?