xamarin / AndroidSupportComponents

Xamarin bindings for Android Support libraries - For AndroidX see https://github.com/xamarin/AndroidX
MIT License
146 stars 56 forks source link

[WorkManager] StartMethod is missing from ListenableWorker #194

Open toussam opened 5 years ago

toussam commented 5 years ago

Hi everyone,

Xamarin.Android Version (eg: 6.0):

9.4.1.0

Operating System & Version (eg: Mac OSX 10.11):

macOS Mojave 10.14.6

Support Libraries Version (eg: 23.3.0):

28.0.0.1

Describe your Issue:

I am trying to implement WorkManager for one of my work's projects and I wanted to use ListenableWorker to do some async work. I can inherit from it, but the startMethod is missing from the available methods.

Steps to Reproduce (with link to sample solution if possible):

Using Rider and decompiling ListenableWorker, it's clear that the private / public delegates for the related method are missing.

Include any relevant Exception Stack traces, build logs, adb logs:

N/A

I am creating this new issue after that @moljac asked me to do so into the issue #152 . You may find more informations into this last one.

I thank you in advance for your responses and your time! Best regards,

igormancos commented 4 years ago

What is status of this task? I waiting too this feature..

ghost commented 4 years ago

Same here. After on year no news?

KthProg commented 4 years ago

Hello? Could you please get this method added?

DamienDennehy commented 4 years ago

If you need to use ListenableWorker in Xamarin Android today, use the Xamarin.AndroidX.Work.Runtime NuGet package, not Xamarin.Android.Arch.Work.Runtime. I wrote more about it here.