fishy fish
02/14/2024, 1:56 PMTimo Drick
02/18/2024, 11:42 AM.anchoredDraggable(state, Orientation.Horizontal)
.pointerInput(Unit) {
awaitPointerEventScope {
while (true) { // just to be able to get y position of pointer
yPosition = awaitPointerEvent().changes.last().position.y
}
}
}
https://github.com/timo-drick/compose_libraries/blob/main/app/src/main/java/de/drick/compose/sample/ui/transition_effect.kt