Open leinardi opened 4 months ago
Thanks for the report and a patch 👍
Unfortunatelly, as for now, LazyTable and MinaBox use very primitive drag modifier, which does not support nested scroll or even overscroll.
I need to investigate how DraggableModifier works and how it could be adopted for 2D space 👀
@oleksandrbalan I found these examples that seem interesting:
The 2nd example is actually implementing a 2d grid that scrolls on both axis.
One more question: if I would like to play a little with the source code of both LazyTable
and MinaBox
what would be the easiest way to compile both of them from source, since LazyTable
depends on the maven artifact and not on the source code of MinaBox
?
Thanks for links 👍
I have thinking to adopt Draggable and Scrollable nodes to support 2D orientation, but that's not an easy task to do 😞
As to the second question, the easiest way as for me would be to add MinaBox
as a separate module in your local repo.
It would be nice to be able to use the official
androidx.compose.material.pullrefresh
together with theLazyTable
.Since
LazyTable
is build on top of theandroidx.compose.foundation.lazy.layout.LazyLayout
I just assumed thatpullrefresh
would work out-of-the-box but that doesn't seem to be the case.Here you can find a patch that adds it to the Android demo project.