Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

android : how to create GridView

I have a requirement to create a gridview like as below:

enter image description here

First I thought of a way, to go with StaggeredGridLayoutManager but that too has static span. If I pass span of two just columns will be created, even if space is available to another item.

Any suggestion please.

like image 507
Finava Vipul Avatar asked Mar 14 '23 01:03

Finava Vipul


1 Answers

This flow layout might help you.

FlowLayout

like image 103
Arth Tilva Avatar answered Apr 01 '23 06:04

Arth Tilva