@Override
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

    final Bundle extras = getIntent().getExtras();
    if (extras == null) {
      throw new IllegalArgumentException("Expected Bundle of extras, got null");
    }
    int pos = extras.getInt("pos", -1);
    if (pos == -1) {
      throw new IllegalArgumentException("Expected pos to be present, was absent");
    }

    final JobParameters job = CentralContainer.getStore(getApplicationContext()).get(pos).job;
    if (job == null) {
      throw new IllegalArgumentException("Expected pos to represent a Job");
    }

    getSupportActionBar().setTitle(job.getTag());
    setContentView(createViewForJob(job));
  }
An Activity that shows details on the associated Job.
testapp/src/main/java/com/firebase/jobdispatcher/testapp/JobDetailActivity.java