Show Single Item at a time in Recycler view

▼魔方 西西 提交于 2019-12-24 21:05:55

问题


I'm showing list of items in WearableRecyclerView. As of now I am getting like this

But I need to show Single Row(Single Item) in a Page,Scroll down,then show next Item.

Any Help to do this in android app?


回答1:


You can do it by two way.

option 1: putting recycler view item width and height both to match_parent.which will cover the screen with with one item at a time and need to scroll for see the next item.

option 2: use this library which will do the exact thing that you are looking for.



来源:https://stackoverflow.com/questions/47865309/show-single-item-at-a-time-in-recycler-view

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!