2 ms·
> After all these years, I still find the most difficult and un-natural thing is mixing concurrency / background tasks that must outlive the UI with complex UI
by sandGorgon 10y ago
> After all these years, I still find the most difficult and un-natural thing is mixing concurrency / background tasks that must outlive the UI with complex UI component lifecycles. This is a frequent and necessary thing to do, and also quite awkward
this is being fixed. The problem is that this is political as well as technical. The solution went from GCMNetworkManager to JobScheduler to the now recommended Firebase Jobdispatcher (https://developer.android.com/topic/performance/scheduling.html#fjd https://developer.android.com/topic/performance/scheduling.h...).
P.S. Firebase was a newly acquired startup at Google.
Firebase Jobdispatcher should be able to take care of your concurrency issues in a power efficient way.