path/android-priority-jobqueue — pull request #69 by ubuntudroid (2014-10-09 10:50:23+00:00)
Title: Pass ID to the job in onAdded()

In some cases it is useful, when the job knows it's own job ID.

example usecase:
Consider multiple job instances which have been chained by calling addOnBackground() in their respective onRun() method which is very useful for executing requests with result limits and paging. in this case the last job can check if all previous jobs have been executed successfully (by using the IDs they have passed to it via the constructor or stored in a central place) before sending out a finish-event.