How do I update the UI from Android WorkManager.
Android Workmanager can receive Boolean, Integer, Long, Float, Double, String
Documentation says:
For exactly that problem (I upload files with the WorkManager and want to monitor progress, not only result), I used EventBus. Super easy, put the listener anywhere you want - in my case the MainActivity, since I use a single activity pattern.