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