Example #1
0
  @Override
  public void goBackToParentActivity(Class<? extends Activity> parentActivity, Entry... entries) {
    Entry[] newEntries = new Entry[entries.length + 2];
    System.arraycopy(entries, 0, newEntries, 0, entries.length);
    newEntries[entries.length] = new Entry(TYPE_EXTRA, getViewTheme());
    newEntries[entries.length + 1] = new Entry("caregiver", mCaregiverId);

    super.goBackToParentActivity(parentActivity, newEntries);
  }
Example #2
0
  @Override
  protected void openChildActivity(Class<? extends Activity> activity, Entry... entries) {
    Entry[] newEntries = new Entry[entries.length + 2];
    System.arraycopy(entries, 0, newEntries, 0, entries.length);
    newEntries[entries.length] = new Entry(TYPE_EXTRA, getViewTheme());
    newEntries[entries.length + 1] = new Entry("caregiver", mCaregiverId);

    super.openChildActivity(activity, newEntries);
  }