recyclerview android doesn't import 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