This repository has been archived by the owner on Jun 20, 2023. It is now read-only.
Missing generic Android.Arch.Lifecycle.IObserver<> #215
Labels
investigating
Currently investigating issue
Xamarin.Android Version (eg: 6.0):
10.0
Operating System & Version (eg: Mac OSX 10.11):
Win 10
Support Libraries Version (eg: 23.3.0):
28.0.0.3
Xamarin.Android.Arch.Work.Runtime 1.0.0.0
Describe your Issue:
The progress and the result of Worker can be retrieved by observing the WorkInfo.
https://developer.android.com/topic/libraries/architecture/workmanager/advanced#params
The Java code sample
C# code which will not compile
However, same code cannot be recreated in Xamarin, because generic version of IObserver<> is missing.The non-generic version of IObserver is present in Android.Arch.Lifecycle namespace.
Workaround:
Steps to Reproduce (with link to sample solution if possible):
Include any relevant Exception Stack traces, build logs, adb logs:
The text was updated successfully, but these errors were encountered: