Open hh-ahmad opened 10 months ago
I have to use this PermissionX library in Android Java Project, in my java Activity.
PermissionX.init(this) .permissions(Manifest.permission.ACCESS_FINE_LOCATION, Manifest.permission.ACCESS_COARSE_LOCATION) .request((b, list1, list2) -> { if (b) { } else { });
The following error encountered while writing the above mentioned code:
error: ';' expected .request(b, list1, list2) ->{ and
error: ';' expected .request(b, list1, list2) ->{
error: illegal start of expression });
I have to use this PermissionX library in Android Java Project, in my java Activity.
The following error encountered while writing the above mentioned code:
error: ';' expected .request(b, list1, list2) ->{
anderror: illegal start of expression });