Cannot resolve class android.support.v7.widget.RecyclerView code example
Example: can't import android.support.v7.widget.recyclerview
add this in the main_activity.xml: androidx.recyclerview.widget.RecyclerView
add this in the main_activity.xml: androidx.recyclerview.widget.RecyclerView