The support libraries allow us to use newer features even when using older versions of android, but I've noticed that they also work on newer versions.
Are we expected to detect the version and choose to use the support library version of a class only if the application is made to run in an older version?
Or is it appropiate to simply use the support library version of a class even in cases where the regular version would be available?
Right now I'm thinking the second option would be better as it would make the application simpler to read and understand, with less special cases. However are there any other pros and cons to consider?
Is there a third option?
We have both advantages and disadvantages on using Support library classes than Android Framework classes.
Advantages :
Disadvantages :
So, I will prefer option 2
Or is it appropiate to simply use the support library version of a class even in cases where the regular version would be available
Also, If any new version is available , it is notified on Android Studio. We don't have to check manually if any update is available.