Compatibility and Android Programming
The delay in upgrades combined with regular new releases makes compatibility an important issue in Android programming. To reach a broad market, Android developers must create apps that perform well on devices running the most current version of Android plus previous versions – as well as on different device form factors.
Jetpack libraries
In Chapter 4, you learned about the Jetpack libraries and AndroidX. In addition to offering new features (like ViewModel), the Jetpack libraries offer backward compatibility for new features on older devices and provide (or attempt to provide) consistent behavior across Android versions. Some libraries, such as AppCompat (which you will learn about in ...
Get Android Programming: The Big Nerd Ranch Guide, 5th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.