Code example for Map

Methods: get, keySet

0
    startedActivitiesForResults.add(new IntentForResult(intent, requestCode));
    getApplicationContext().startActivity(intent);
  } 
 
  public void receiveResult(Intent requestIntent, int resultCode, Intent resultIntent) {
    Integer requestCode = intentRequestCodeMap.get(requestIntent);
    if (requestCode == null) {
      throw new RuntimeException("No intent matches " + requestIntent + " among " + intentRequestCodeMap.keySet());
    } 
 
    final ActivityInvoker invoker = new ActivityInvoker();
    invoker.call("onActivityResult", Integer.TYPE, Integer.TYPE, Intent.class)
        .with(requestCode, resultCode, resultIntent);
  } 
 
  @Implementation 
  public final void showDialog(int id) {
    showDialog(id, null);
  } 
 
  @Implementation