Does anyone know where this falls in the roadmap? ...
# compose
b
Does anyone know where this falls in the roadmap? https://issuetracker.google.com/issues/193263965
c
Someone added a comment
Fixing this requires a big refactor of LazyVerticalGrid & its underlying implementation, which is planned for later this year.
b
oh nice
thanks for the heads up
well thats unfortunate
now to see if I can wrap a recyclerview in an AndroidView() and use my Compose GridItem
c
Can you just use a different item at each of those indexes where you want to alter the z-index? and then just have two different item/composables?
feels like there has to be a "workaround" or slight of hand trick you can pull here instead of going for a RV
b
yeah thats what im hoping for as well
trying to replace core feature of app in with compose
first roadblock ive hit so far (for this screen)
Can you just use a different item at each of those indexes where you want to alter the z-index? and then just have two different item/composables?
so basically add a single composable above the item being moved, and set the other one to invisible for the effect?
interesting, don’t know how well that would work for when dragging to items currently non visible
t
Maybe calculate your items and split them into multiple rows and wrap them inside a LazyColumn?
b
yeah playing w/ a flow row idea
t
There is a flow row in Accompanist you can try it
b
yep
thanks!
Couldn’t get flow route to cooperate but was able to get it working with a RV in an AndroidView using the composable VH
👍 1