googlesamples / easypermissions

Simplify Android M system permissions
https://firebaseopensource.com/projects/googlesamples/easypermissions/
Apache License 2.0
9.86k stars 1.46k forks source link

how implement in kotlin sir? thank you #315

Closed IqbalAlhadadgreenhcm321 closed 3 years ago

IqbalAlhadadgreenhcm321 commented 3 years ago

EasyPermissions.requestPermissions( new PermissionRequest.Builder(this, RC_CAMERA_AND_LOCATION, perms) .setRationale(R.string.camera_and_location_rationale) .setPositiveButtonText(R.string.rationale_ask_ok) .setNegativeButtonText(R.string.rationale_ask_cancel) .setTheme(R.style.my_fancy_style) .build());

i copy your code in my function but many error

samtstern commented 3 years ago

@IqbalAlhadadgreenhcm321 this issue tracker is for bugs in the library, please use StackOverflow for general questions.