Background
I have an app that shows a list of items in a grid-like way, yet not exactly...
The problem
Some of the items have a different height, so the ones near them should gain the same height as they have. This one works on GridLayoutManager.
Some items (actually only the first one in my case) need to span the entire row (which is why I used StaggeredGridLayoutManager ).
Using the normal GridLayoutManager, the first requirement worked fine: each row could have a different height. But because of #2, it actually ruined #1.
The question
Is it possible to use StaggeredGridLayoutManager so that when items have different height, it won't make them move in the Y coordinate?
I was thinking: maybe I could use NestedScrollView and GridLayoutManager (because only the first item is spanned), but still, I would like to know if it's possible in the rest of the cases (and also this solution).