WorkManager: Advanced configuration & testing - MAD Skills
Вставка
- Опубліковано 8 сер 2024
- In this episode of the WorkManager series for MAD Skills, Android Developer Relations Engineer Ben Weiss will introduce you to more of WorkManager’s advanced features. You’ll learn how to customize initialization and how WorkManager supports apps than span multiple processes. Ben will also show you how to test the worker and introduce some debugging techniques.
WorkManager documentation → goo.gle/2PlgUfY
WorkManager basic codelab → goo.gle/37UrVve
WorkManager advanced codelab → goo.gle/3v87MvF
Threading in WorkManager → goo.gle/3caWBJL
Testing Workers → goo.gle/3ek2cQB
Integration Testing → goo.gle/3v3YZL2
Debugging → goo.gle/3qrxgk1
Catch more WorkManager for MAD Skills → goo.gle/workmanager
Watch more MAD Skills episodes → goo.gle/madskills
Subscribe to Android Developers → goo.gle/AndroidDevs
#WorkManager #AndroidDevelopers #MADSkills - Наука та технологія
Just what I needed!! Thank you very much
Wow, this was very very useful! Didn't know at all about the debugging and testing bits. Really nice video!
And what if I want to test a coroutineworker without initializing it? Just like "OneTimeWorkRequestBuilder"?
How can I test a worker when I have the Hilt injection in the worker's constructor. I use 'TestListenableWorkerBuilder' but it throws 'IllegalStateException: Could not create an instance of ListenableWorker' and I couldn't find any info in the documentation. Thanks
@@googleJay I have this already. I have custom parameters in the worker's constructor beside 'context' and 'worker parameters'. When I want to create instance of this Worker for test cases, it throws exceptions in every way I looked up. In addition, I couldn't find any info in the official documentation for this case.
I have the same problem and no clue how to solve this. Bix blocker
👍👍
Hi
💙👏👌💟🧡👍👍
I am familiar with Java how can I code both Java and kotlin (step by step from beginning) and work manager
I know basic but you explain in kotlin I not well in kotlin
Start from Google codelabs. You will start loving Kotlin and hating java
hello i have problem where í can contact you?