aclassen / ComposeReorderable

Enables reordering by drag and drop in Jetpack Compose (Desktop) LazyList & LazyGrid.
Apache License 2.0
821 stars 86 forks source link

Added support for staggered grid #270

Open bpappin opened 1 year ago

bpappin commented 1 year ago

The internal structure of LazyStaggeredGridItemScope is missing the animateItemPlacement() modifier that LazyGridItemScope has, so that section does not work properly.

Also, there was no way to tell the orientation from LazyStaggeredGridState.isVertical because its internal and not accessible, which lead to separate remember clauses.

IHNEL commented 1 year ago

will someone merge this?

kafri8889 commented 11 months ago

Please merge this @aclassen

bpappin commented 7 months ago

For those needing this, it looks like its been added for 0.9.7, but the PR not merged. As far as i can tell, 0.9.7 has not been published.