I was checking support library for android, but i cant understand why they divided into v4 and v7 ?
Why just don't use one support library for all versions? Or even all classes on support, be on SDK properly?
difference. v4 has largest set of API's than others like App component, User Interface Feature, data handling ,network connectivity and utilities. v7 provided specfic feature sets that can be included in your app independently.
v7 cardview library These cards are useful for material design implementations, and are used extensively in layouts for TV apps. The Gradle build script dependency identifier for this library is as follows: com. android. support:cardview-v7:28.0.
The Android Support Library package is a set of code libraries that provide backward-compatible versions of Android framework APIs as well as features that are only available through the library APIs. Each Support Library is backward-compatible to a specific Android API level.
AndroidX is a major improvement to the original Android Support Library, which is no longer maintained. androidx packages fully replace the Support Library by providing feature parity and new libraries.
v4 support library and v7 support library both support android version 2.3(API level 9) and higher and required for backward compatibility for older devices.
difference
v4 has largest set of API's than others like App component, User Interface Feature, data handling ,network connectivity and utilities.
v7 provided specfic feature sets that can be included in your app independently.
There is also v7 AppCompact and v13 SupportLbrary :
v7 AppCompact - for ActionBar user interface and design . it required v4 also.
v13 SupportLbrary - android version 3.2(API level 13) and higher and supports fragment user interface Pattern
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With