cardview in adnroid code example
Example 1: android cardview dependency
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'
}