public void onActivityResult(int requestCode,int resultCode,Intent data){
  if (mInitializationComplete) {
    mActivityDelegate.onActivityResultWithNative(requestCode,resultCode,data);
  }
 else {
    if (mPendingActivityResults == null) {
      mPendingActivityResults=new ArrayList<ActivityResult>(1);
    }
    mPendingActivityResults.add(new ActivityResult(requestCode,resultCode,data));
  }
}

public void onActivityResult ( int requestCode , int resultCode , Intent data ) { if ( mInitializationComplete ) { mActivityDelegate . onActivityResultWithNative ( requestCode , resultCode , data ) ; } else { if ( mPendingActivityResults == null ) { mPendingActivityResults = new ArrayList < ActivityResult > ( 1 ) ; } mPendingActivityResults . add ( new ActivityResult ( requestCode , resultCode , data ) ) ; } }
this is the android onactivityresult callback deferred , if necessary , to when the native library has loaded .
