Closed Hasdik closed 5 years ago
It's there for the API 28 support, please make sure you are setting your target framework version to MonoAndroid90 (API 28) or higher as the 28.0.0.x packages are multitargeted, so the .dll your app actually consumes depends on the target framework version you've set in your project.
Xamarin.Android Version (eg: 6.0):
Xamarin.Android.Support.Fragment v28.0.0.1
Operating System & Version (eg: Mac OSX 10.11):
Support Libraries Version (eg: 23.3.0):
Describe your Issue:
According to the support library changelog and the Fragment class documentation (https://developer.android.com/reference/android/support/v4/app/Fragment.html), there are now new methods like requireContext().
But I couldn't find the method requireContext() in xamarin android.
Many SDK(andriod) use method requireContext(), log: http://joxi.ru/DrlGMDVTVQ8aoA
Can you add this method?
Steps to Reproduce (with link to sample solution if possible):
Include any relevant Exception Stack traces, build logs, adb logs: