Let's say I wan't to do work in the background (off the main thread).
If only one activity needs the result of this background work, is there any difference between starting this off-main-thread work from a service or from an activity? If so, what is the difference?
[Edit 1 start]
Is it something related to component life cycles. An activity might be stopped (and the off-main-thread continues) but then the process might get killed without onDestroy being called. Is onDestroy guaranteed to be called from a service?
[Edit 1 end]