How to display recycler view items side by side

后端 未结 4 799
萌比男神i
萌比男神i 2021-01-16 22:38

How can we display RecyclerView items side by side. i tried to do this by using FlowLayoutManager and FlexboxLayoutManager but it is s

4条回答
  •  走了就别回头了
    2021-01-16 23:11

    set orientation of linearlayoutmanager for recyclerview

    LinearLayoutManager layoutManager = LinearLayoutManager(activity,RecyclerView.HORIZONTAL,false)
    

提交回复
热议问题