Android application type
Android for .NET (net6.0-android, etc.)
Affected platform version
VS 22 17.4.3
Description
I tried typing GetOnBackPressedDispatcher inside of a class that extends Xamarin.AndroidX's AppCompatActivity class and the method doesnt seem to exist because there's no autocomplete and an error of appears on the same line.
This method is also crucial as OnBackPressed has been deprecated in Android 13.

Steps to Reproduce
- Create a Xamarin Blank Android app
- Insert the code inside of a method in the MainActivity class
Did you find any workaround?
No response
Relevant log output
No response
Android application type
Android for .NET (net6.0-android, etc.)
Affected platform version
VS 22 17.4.3
Description
I tried typing
GetOnBackPressedDispatcherinside of a class that extends Xamarin.AndroidX'sAppCompatActivityclass and the method doesnt seem to exist because there's no autocomplete and an error of appears on the same line.This method is also crucial as
OnBackPressedhas been deprecated in Android 13.Steps to Reproduce
Did you find any workaround?
No response
Relevant log output
No response