Challenges in RecyclerView of Android L

前端 未结 4 1305
一整个雨季
一整个雨季 2021-02-20 04:27

I have been playing around with RecyclerView for a little bit. Is there any easy way to put OnClickListener for items in RecyclerView? I h

4条回答
  •  故里飘歌
    2021-02-20 05:15

    Please see my answer here. You do need an extra class (which may be included as part of the full release) but it will allow you to create OnItemClickListeners the way you are used to for ListViews.

提交回复
热议问题