https://kotlinlang.org logo
y

Yann Badoual

09/07/2020, 9:49 AM
What's the easiest way to create the equivalent of a grid layout recycler view currently? (not staggered) Thought of having a lazy list of column, where each line would be a row having n elements, but feels hacky
a

Andrey Kulikov

09/07/2020, 10:28 AM
yes, it is a way to go for now. we are going to provide some out of the box LazyGrid component, but in the meantime what you described seems reasonable
👍 1
n

nickbutcher

09/08/2020, 7:37 AM
y

Yann Badoual

09/08/2020, 8:12 AM
Arround 50 simple items. I think this approach would be better to handle the "decorators", I want to draw the actual grid. Thanks!
2 Views