i know i can use GridLayoutManager But I need make it by RecyclerView.LayoutManager
This i need To make by use RecyclerView.LayoutManager
This is normal Of Recycler View Item In Layout
CodePudding user response:
You cannot make recycler with columns using RecyclerView.LayoutManager. You can create recycler into recycler, placing three items in recycler and this is will be your one item, or just put three items into one layout.
CodePudding user response:
you can't set that layout with layoutManager but you can arrange the item positions in the Array list so it appears that way as described .
your step 1. would be to set the layout manager like this --
val rV = binding.recyclerView
val layoutManager = StaggeredGridLayoutManager(3, LinearLayoutManager.VERTICAL)
rV.layoutManager = layoutManager
layoutManager.gapStrategy = StaggeredGridLayoutManager.GAP_HANDLING_NONE
CodePudding user response:
yoy can use three recycler vies beside eachother