I understand that you need to use AppCompatActivity. If other support libraries or classes are now deprecated, this means that people on Android will not continue to support this code or improve it. However, I have never used any of these classes.
I suggest that you might have some ugly if statements to check the API level of your end users and make different method calls based on this. That sounds like a lot of extra work though.
source share