use of com.birbit.android.jobqueue.messaging.message.CallbackMessage in project android-priority-jobqueue by yigit.
the class CallbackManager method notifyAfterRun.
public void notifyAfterRun(@NonNull Job job, int result) {
if (!hasAnyCallbacks()) {
return;
}
CallbackMessage callback = factory.obtain(CallbackMessage.class);
callback.set(job, CallbackMessage.ON_AFTER_RUN, result);
messageQueue.post(callback);
}
Aggregations