All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.path.android.jobqueue.AsyncAddCallback Maven / Gradle / Ivy

Go to download

a Job Queue specifically written for Android to easily schedule jobs (tasks) that run in the background, improving UX and application stability.

There is a newer version: 1.1.2
Show newest version
package com.path.android.jobqueue;

import android.app.Activity;

/**
 * If you are adding the job via the async adder, you can provide a callback method to receive the ID.
 * Please keep in mind that job manager will keep a strong reference to this callback. So if the callback is an
 * anonymous class inside an {@link Activity} context, it may leak the activity until the job is added.
 */
public interface AsyncAddCallback {
    public void onAdded(long jobId);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy