I am still searching but thought I would ask here....
# compose
d
I am still searching but thought I would ask here. How do I build an infinitely scrollable plane? ( or at least one that does not get clipped by the bounds of the device.) I am trying to build something that lays its items out in ever expanding concentric rings.
This is… rudimentary at best 😅
This works! Now to know if there is any perf issues.
Copy code
.pointerInput(Unit) {
            detectTransformGestures(
                panZoomLock = true
            ) { centroid, (panX, panY), zoom, rotation ->
                offsetX += panX.toDp()
                offsetY += panY.toDp()
                rotationDegrees += rotation
            }
Even better!!