Check if WorkManager is scheduled already
Update If you need to check already running work manager just because you don’t want duplicate works. You can simply use enqueueUniquePeriodicWork() This method allows you to enqueue a uniquely-named PeriodicWorkRequest, where only one PeriodicWorkRequest of a particular name can be active at a time. For example, you may only want one sync operation to … Read more