A large percentage of examples that I find online inherit from AppCompatActivity
rather than Activity
. Is this really what I should be doing? I have heard that Activity
is newer, and it is my preference. I am currently attempting to learn to use CameraX
, and there are very few examples & support that I have been able to find for Xamarin.Android
. After finding the following Android tutorial & a translation of it for Xamarin.Android
:
https://developer.android.com/codelabs/camerax-getting-started
https://github.com/DottorPagliaccius/Xamarin.CameraX
However, the first parameter of BindToLifecycle
seems to like AppCompatActivity
but not Activity
. Does anybody know what changes I need to make in order to be able to use Activity
instead of AppCompatActivity
?