Closed isabsent closed 5 years ago
You don't need to use onRequestPermissionsResult
to get the result. You can simply pass the context using the method getContext()
of Fragment
and get the callback directly in the parameter of type PermissionHandler
in the check
method.
There is an opportunity to call permission request right from the
Fragment
:and get a result in the same
Fragment
:in android.support.v4.app.Fragment. Does your library allow this too?