Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

[WorkManager] StartMethod is missing from ListenableWorker #194

Open
toussam opened this issue Aug 23, 2019 · 4 comments
Open

[WorkManager] StartMethod is missing from ListenableWorker #194

toussam opened this issue Aug 23, 2019 · 4 comments

Comments

@toussam
Copy link

toussam commented Aug 23, 2019

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):

  • create a new CustomWorker class inheriting from ListenableWorker
  • type the keyword 'override' into this last one to find any methods that can be override
  • observe that startMethod is missing from the available choices

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
Copy link

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

@ghost
Copy link

ghost commented Apr 9, 2020

Same here. After on year no news?

@KthProg
Copy link

KthProg commented Jun 23, 2020

Hello? Could you please get this method added?

@DamienDennehy
Copy link

DamienDennehy commented Jul 18, 2020

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants