com.path.android.jobqueue
Interface AsyncAddCallback


public interface AsyncAddCallback

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 Activity context, it may leak the activity until the job is added.


Method Summary
 void onAdded(long jobId)
           
 

Method Detail

onAdded

void onAdded(long jobId)