想要使用:
<android.support.v7.widget.RecyclerView android:id="@+id/holidays_recy" android:layout_width="match_parent" android:layout_height="match_parent"> </android.support.v7.widget.RecyclerView>
必须要添加这个依赖库:
compile 'com.android.support:recyclerview-v7:25.3.1'