On error: ResultInfo {who = null, request = 0, result = -1, data = null} What is who = null?

protected void onActivityResult(int reqCode, int resCode, Intent data){
    super.onActivityResult(reqCode, resCode, data);

      

You got requestCode, resultCode and data in parameters. But in error you also get "who". What is it and where does it come from

+3


source to share


1 answer


This is the activity id. This is often null. When your activity code runs, the activity is already identified and does not need to be reflected in the method signature.

If you're wondering where the ID comes from, here are some starting points for backtracking:



0


source







All Articles