-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AndroidX.Leanback.Preference missing ...Compat #354
Comments
Any news about this? |
I haven't heard anything about this. And must admit I haven't tried anything anymore. I was for an experimental application, these struggles didn't help. |
I have the same problem with my app, there are obsolete warnings everywhere because the Compat classes are missing. I think the maven package reference is old, they have to update it. |
@leandroconsiglio I have absolutly no idea how this package is created, but I guess it's generated somehow. Wouldn't we be able to just re-generate it with a new version? @xamarin can you give us some insights? |
@svrooij Thanks for the feedback! And I am sorry for delays, but I maintain AndroidX and GooglePlayServices/Firebase/MLKit bindings + tons of dependencies.
You need need to clone and do cake build. It is not trivial, but it is not too hacky. Yes docs about build are not up to date I know. When submitting issues versions would help a lot. Each of the nuget has its own version:
It would be good to know which of those do you use. You can paste |
Notes:
|
These are the regular preferences screens. Not those specially for Leanback (ANDROID TV). |
yes. I know. Leanback stuff was not found. Why? No idea. (Yet) |
So these packages seem to be not updated to the latest version, if I'm understanding correctly? For my understanding the cake script checks some xml file where all the android maven packages are stored and then checks there respective version if it's the same with the version of the generated files? If not the same it downloads the new version and generates the bindings for it? |
Advice: images are not searchable, selectable (for copy paste) and slows investigation down. Try like this: https://maven.google.com/web/index.html?q=leanback you have several groups:
The problem is that for some reason Compat classes were removed from |
@moljac The compat classes were added in leanback-preference-1.1.0 and Xamarin is using 1.0.0, that's why they are missing. |
@leandroconsiglio thanks for the pointer! It seems the version containing these extra classess it not released as a none beta version. https://maven.google.com/web/index.html#androidx.leanback:leanback-preference Would it be possible to some how force it to create a beta nuget containing the Ive tried building it locally, but since the generation isn't documented I cannot get it to work. Struggling with error after error.
|
closing this issue
https://maven.google.com/web/index.html?q=androidx.leanback#androidx.leanback:leanback-preference Please open issue when the package becomes stable. Thanks |
This package does not seem te be coming out of preview.... |
Yes is still in preview, but the all classes without Compat have [Obsolete] warning everywhere. |
The 18 month old package is still in I tried updating the {
"groupId": "androidx.leanback",
"artifactId": "leanback-preference",
"version": "1.2.0-alpha02",
"nugetVersion": "1.2.0.0-alpha2",
"nugetId": "Xamarin.AndroidX.Leanback.Preference",
"dependencyOnly": false
},
|
Version Information
AndroidX
Describe your Issue:
I'm trying to use AndroidX.Leanback.Preference but all the
...Compat
classes seems to be missing.For instance the LeanbackSettingsFragmentCompat which I seem to be using. All the classes without Compat have
[Obsolete]
everywhere.Steps to Reproduce (with link to sample solution if possible):
Xamarin.AndroidX.Preference
andXamarin.AndroidX.Leanback.Preference
LeanbackSettingsFragmentCompat
Include any relevant Exception Stack traces, build logs, adb logs:
The text was updated successfully, but these errors were encountered: