'Xamarin AndroidX how do you reference FragmentCompat now?
While using Xamarin and AndroidX, how do I now reference FragmentCompat?
As I see in the Android mappings, one should use AndroidX.Legacy.App.FragmentCompat, but this doesn't seem to exist in Xamarin.
Please help.
Solution 1:[1]
I had found the information about the package and found that the package of it in the native android was support.v13.
The official document:https://developer.android.com/topic/libraries/support-library/packages#v13
So you can open the nuget package manager and search the package named Xamarin.AndroidX.Legacy.Support.V13. And then you can use the AndroidX.Legacy.App.FragmentCompat after adding the reference of the package.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 |
