I wanted to know everyone's thoughts about this proposal.
When requesting permissions from a Fragment, I find it very annoying and unclean to have to override the
public void onRequestPermissionsResult(int requestCode,
String permissions[], int[] grantResults)
method, to get the results from the permission request, I think it would be a lot cleaner if we would create a overload to the
requestPermissions() method that adds a functional interface as a 3rd argument which would have the signature of the onRequestPermissionsResult method
this would allow much cleaner code since the callback could be implemented using a lambda/ anonymous class which would keep the code in order and clean.
What does everyone think?