Adrian Tache
May 9 · 1 min read

I’m sorry, I never saw your comment until now. Have a look at my new article to see how to do that, but in short you create an Observer<List<WorkInfo>> and pass it to WorkManager.getInstance().getWorkInfosByTagLiveData(tag).observe(this, observer); . From that you iterate through the List and check the WorkInfo.State with workInfo.getState() . The article I mentioned is https://medium.com/android-ideas/workmanager-finally-released-5cc5b4244606

    Adrian Tache

    Written by

    Mobile Developer 📱