android - RecyclerView with different spanCount for each row -


is there way recyclerview different spancount every row depends on how many items can fit in row ? meaning when there no more width fit new item, break new row.

i've attached photo can see need.

if can't done recyclerview, can done tablelayout ? or listview ?

enter image description here

you can recycler view , custom layout manager

this article might http://wiresareobsolete.com/2014/09/building-a-recyclerview-layoutmanager-part-1/

(sorry don't have code share. ive never done this, think possible accomplish way)


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -