cardview in android studio code example
Example 1: androidx cardview
dependencies {
implementation "androidx.cardview:cardview:1.0.0"
}
Example 2: how to add cardview in android studio
dependencies {
implementation 'com.android.support:cardview-v7:28.0.0'
}