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

At first I thought about how to go with the StaggeredGridLayoutManager, but this one also has a static interval. If I go through only two columns, it will be created, even if space is available for another element.
Any suggestion please.
source
share