python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Is there a way to know if your coroutine has been canceled from within a suspend function
I'm using a CoroutineWorker but all my business logic is a separate class which I start using a suspend function. I would prefer to keep all the logic in this class but I need to know if the work requ...

ExNatura
Votes: 0
Answers: 3
Inject Worker in AndroidTest class by Hilt
I am trying to test Worker but i can't inject it
Error while gradle building:
Dagger does not support injecting @AssistedInject type,
com.hussien.quoty.sync.NotificationWorker. Did you mean to inject ...

Hussien Fahmy
Votes: 0
Answers: 0
Android PeriodicWorkRequest Issue
Workmanager is not launching the worker. I have a debug breakpoint in the worker class. I am not hitting breakpoint. I am following the example provided by WorkManager tutorial. I am not sure where I ...
fossil
Votes: 0
Answers: 1
AndroidX worker is being canceled when i exit my screen
Using this library "androidx.work:work-runtime-ktx:2.5.0" to run a background thread.
But OneTimeWorkRequest is being cancelled everything i exit the screen. What i am trying to acheive is s...
Wadih Hannouch
Votes: 0
Answers: 1