ParkSangGwon / TedPermission

Easy check permission library for Android Marshmallow
1.74k stars 240 forks source link

how to use isGranted method #101

Closed furqanahmedpl closed 5 years ago

furqanahmedpl commented 5 years ago

hi,

i am using your library for getting run time permission from user

i have a case where i want to check wether user has already granted permission then do not use permission code

i am trying to use isGranted(Context context, String... permissions): but no idea which class is giving this method.

can you please explain it more with

any help would be highly appreciated

thanks

ParkSangGwon commented 5 years ago

You can use TedPermission.isGranted()