示例#1
0
 @Override
 protected void onActivityResult(int requestCode, int resultCode, Intent data) {
   if (result_callback != null) {
     result_callback.callback(requestCode, resultCode, data);
     result_callback = null;
   }
   ;
 };
示例#2
0
  @Override
  protected void onActivityResult(int requestCode, int resultCode, Intent data) {
    if (requestCode == PaymentsManager.REQUEST_CODE_FOR_PURCHASE) {
      mPaymentsManager.processPurchaseResponse(resultCode, data);
    } else if (result_callback != null) {
      result_callback.callback(requestCode, resultCode, data);
      result_callback = null;
    }
    ;

    for (int i = 0; i < singleton_count; i++) {

      singletons[i].onMainActivityResult(requestCode, resultCode, data);
    }
  };