Top "Android-workmanager" questions

Android Jetpack WorkManager is used for scheduling and managing one time and periodic background tasks.

Set initial delay to a Periodic Work Manager in Android

I have a Worker instance that needs to run every 24 hours which is pretty simple considering the PeriodicWorkRequest API. But …

android kotlin android-workmanager
IllegalStateException: WorkManager is already initialized

Having these dependencies: dependencies { implementation "androidx.work:work-runtime:2.0.1" androidTestImplementation "androidx.work:work-testing:2.0.1" } When running this code for the second time: …

java android illegalstateexception androidx android-workmanager
Dagger2: Unable to inject dependencies in WorkManager

So from what I read, Dagger doesn't have support for inject in Worker yet. But there are some workarounds as …

android dagger-2 android-workmanager
How to Pass POJO class in Work manager in android?

How can we pass Serializable object in work manager by setData method of work manager? Is there any way to …

android android-jetpack android-workmanager
Android Work Manager: "Could not instantiate Worker"

I've followed the Android Developer's tutorial on using the Worker Manager structure to run my code in background but anytime …

android androidx android-workmanager
How does WorkManager schedule GET requests to REST API?

I've had a look at the codelab for WorkManager plus some examples on here, but everything in code I have …

android android-workmanager
Check if WorkRequest has been previously enquequed by WorkManager Android

I am using PeriodicWorkRequest to perform a task for me every 15 minutes. I would like to check, if this periodic …

android android-jetpack android-workmanager