InterviewSolution
Saved Bookmarks
| 1. |
What is the recommended way to perform discrete, ‘transactional’ background tasks in Android? |
|
Answer» The recommended way going forward is using WorkManager APIs, that makes it easy to specify deferrable, asynchronous tasks and when they should run under the CIRCUMSTANCES you choose, or RECURRING tasks that run at a specified INTERVAL. Internally WorkManager might use JOBSCHEDULER, Firebase-JobDispatcher, Executor, and AlarmManager for RUNNING the task. |
|