Working with WorkManager (Android Dev Summit '18)
Vložit
- čas přidán 28. 07. 2024
- This session talks about WorkManager and its API. This talk covers how WorkManager can be used to solve many interesting use cases. We also go over many of the new APIs introduced since alpha, including support for non-blocking Workers and how WorkManager can coexist in a world with coroutines and RxJava.
Schedule tasks with WorkManager → bit.ly/2PkO6Du
Easy Background Processing with WorkManager → bit.ly/2OuE11u
Presented by: Rahul Ravikumar & Sumir Kataria
Android Dev Summit '18 all sessions playlist → bit.ly/ADS18-Sessions
Subscribe to the Android Channel! → bit.ly/AndroidDevs1
#AndroidDevSummit event: Android Dev Summit 2018; re_ty: Publish; product: Android - Jetpack; fullname: Rahul Ravikumar, Sumir Kataria; - Věda a technologie
1:29 What is WorkManager?
2:45 API Walkthrough
8:00 Threading in WorkManager
10:37 Actual Threading in WorkManager
11:18 Worker vs ListenableWorker
11:45 Create ListenableWorker
13:52 Operations
15:15 Work Stoppages
17:02 Clean up worker example
19:15 Life of OneTime Work
20:21 Life of Periodic Work
21:20 Life of Chain of Work
22:17 Unique Work
24:40 WorkManager Configuration
thx
Really good speakers, especially the 2nd guy was very nice to listen to
We need your tutorials on work manager
@@hagar-9- Exactly! xD
Waiting for ur videos on Work manager :)
Nice Explanation. Thank you.
Very well explained
Nice explanation.
thanks ...
My question is suppose I have set some constraints for WorkManager and i opened the app and all the constraints are met, will work manager run. Is there a possibility of work manager running when app is in the foreground or it runs only when app is in closed and constraints are met?
It runs anyway
I have never used any kind of Scheduler in my app. I am planning to include Work Manager soon. I know work manager is a best choice for local database syncing with server. So my question is can I use Retrofit in the doWork method, get the latest response from server and save it to local database.Is this a valid case?
Yes. You can have chained workers to achieve that behaviour.
yes
@@jishindev you don't have to. Can do in a single worker also.
Thanks for
Indians,yesssssssss
India :)
EXecutor