WorkManager alpha10 ListenableFuture usage
I´m having some issues trying to implement the latest WorkManager-alpha10 ListenableFuture for handling process completion.
Right now I´ve the following on my JobOrganizer class
private fun enqueueDownloadWork(): ListenableFuture {
val work = WorkManager.getInstance()
.beginWith(dwdTypologiesJob)
.then(dwdElementsJob)
.then(dwdAnomaliesJob)
return work.enqueue()
}
private fun createDownloadWorkRequests() {...