In previous step we have create MyApplication.java to create job for whole application, we have used non exist singleton file. Create now “JobSingleton.java” file like this:

import android.support.annotation.NonNull;
import android.support.annotation.Nullable;

import com.evernote.android.job.Job;
import com.evernote.android.job.JobCreator;

public class JobSingleton implements JobCreator {

    @Override
    @Nullable
    public Job create(@NonNull String tag) {
        switch (tag) {
            case JobStarter.TAG:
                return new JobStarter();  // again, this will make red error, do not worry about it
            default:
                return null;
        }
    }
}

Singleton is used to ask the job object from any place of our application and from outside application by Android JobScheduler