How to add the recyclerview to project

后端 未结 5 1267
栀梦
栀梦 2021-02-19 03:21

tried to import android.support.v7.widget.RecyclerView, but it didn\'t work, added also

compile \'com.android.support:recyclerview-v7:23.1.1\'

5条回答
  •  渐次进展
    2021-02-19 03:50

    you can also add lib/dependencies from android studio menu.

    click on "Build" -> "Edit Libraries and Dependencies". then click on "+" button on right side.

    search any lib.

    example search "recycler"

    then select "com.android.support:recyclerview-v7:x.x.x" from list and your done.

提交回复
热议问题