You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 26, 2019. It is now read-only.
I tried to force the line height in the case of a vertical spanned grid recycler view. On creating the ViewHolder, I set a new SpanLayoutParams with a computed height (here we try to have a specific number of line matching the recycler height).
But items are drawn with a height matching the width of a one-span-sized item.
Is there a way to achieve this with this SpannedGridLayoutManager ?
Thanks by advance.
Edit: just to know, the same methos of forcing items line height works fine with a classic GridLayoutManager.
Hello here.
I tried to force the line height in the case of a vertical spanned grid recycler view. On creating the ViewHolder, I set a new SpanLayoutParams with a computed height (here we try to have a specific number of line matching the recycler height).
But items are drawn with a height matching the width of a one-span-sized item.
Is there a way to achieve this with this SpannedGridLayoutManager ?
Thanks by advance.
Edit: just to know, the same methos of forcing items line height works fine with a classic GridLayoutManager.