i have recyclerview , gridlayoutmanager 2 columns. how can force layoutmanager according template on first screenshot? have result on 2th screenshot.
need result:
current result:
gridlayoutmanager
use grid, , can set span, not different heights different cells.
what want staggeredgridlayoutmanager
. put items on screen if fit, leading needed result. can change reordering behavior, if want to, using setgapstrategy
.
Comments
Post a Comment