示例#1
0
 /**
  * Start an activity to view the given repository
  *
  * @param repository
  */
 @Override
 protected void viewRepository(Repository repository) {
   if (!repo.generateId().equals(repository.generateId())) super.viewRepository(repository);
 }
示例#2
0
  @Override
  public void onAttach(Activity activity) {
    super.onAttach(activity);

    repo = getSerializableExtra(EXTRA_REPOSITORY);
  }