implementation androidx.cardview.widget.cardview code example
Example 1: android cardview dependency
dependencies {
implementation "androidx.cardview:cardview:1.0.0"
}
Example 2: cardview dependency
implementation "androidx.cardview:cardview:1.0.0"