AndroidX: AndroidX.Leanback.Preference missing ...Compat

Version Information

  • Visual Studio version (eg. 16.8 or 8.8): 16.10.4
  • Xamarin.Android version (eg. 11.1): 11.3.0.4
  • Using AndroidX or Support Libraries: AndroidX
  • If Support Libraries, version (eg 28.0.0):

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

  1. Create Xamarin.Android app
  2. Add Xamarin.AndroidX.Preference and Xamarin.AndroidX.Leanback.Preference
  3. Try to create a class that extends LeanbackSettingsFragmentCompat

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

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 1
  • Comments: 17 (5 by maintainers)

Most upvoted comments

Yes is still in preview, but the all classes without Compat have [Obsolete] warning everywhere.