Brief Analysis of Packages Using recycleview in android studio 3.5
- 2021-11-13 18:08:29
- OfStack
Learning Android downloaded android studio 3.5, and used Android versions 28 and android 9.
It was found that recycleview could not be used, and recycleview packages could not be added on top of project structure
So I found one that can be used online
Add dependencies in build. gradle
implementation 'com.android.support:recyclerview-v7:28.0.0-rc01'
You can use it
In layout, use the
<android.support.v7.widget.RecyclerView
android:id="@+id/RecycleViewId"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
This is what I found myself. If you have other methods, you can also add them in the comments
Thank you for kowtowing to you, Kuang Kuang
Especially in android studio3.5, if there is a link to introduce packages in project structure, please leave one! ! !
In recent experiments, it has been found that recycleview designed by google not androidx can be added to project structure
How to do it: Click File- > project structure- > "+" sign under All Dependencies- > Select Libratry Denpendeny- > Enter "recyclerview"- > search will have an androidx. recyclerview
Just use this
Summarize