com.evernote.android.job.JobCreator Java Examples
The following examples show how to use
com.evernote.android.job.JobCreator.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: MainActivity.java From ETSMobile-Android2 with Apache License 2.0 | 5 votes |
private void initJobManager() { JobManager.create(this).addJobCreator(new JobCreator() { @Override public Job create(String tag) { if (tag.equals(BottinSyncJob.TAG)) return new BottinSyncJob(); else return null; } }); }
Example #2
Source File: DummyJobs.java From android-job with Apache License 2.0 | 4 votes |
public SpyableJobCreator(JobCreator jobCreator) { mJobCreator = jobCreator; }