@Override
    protected void onPostExecute(Integer integer) {
      jobService.onJobFinished(jobParameters, integer == JobService.RESULT_FAIL_RETRY);
    }
SimpleJobService provides a simple way of doing background work in a JobService.

<p>Users should override onRunJob and return one of the {@link JobResult} ints.
jobdispatcher/src/main/java/com/firebase/jobdispatcher/SimpleJobService.java