Karumi / Dexter

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

Add OnClickListener to dialog shown when any permission is denied #259

Closed JcMinarro closed 4 years ago

JcMinarro commented 4 years ago

:tophat: What is the goal?

Add a listener to be called when the user click on the Dialog Button

:memo: How is it being implemented?

Add methods on the Builder to be able to configure this behavior

:robot: How can it be tested?

Add a listener o DialogOnDeniedPermissionListener or DialogOnAnyDeniedMultiplePermissionsListener with the method withButtonText(buttonText, listener)