https://kotlinlang.org logo
#compose
Title
# compose
z

zalewski.se

03/29/2023, 11:08 AM
I’m looking for a way to expand
transformable()
modifier (or
.pointerInput(Unit) { detectTransformGestures { … } }
) to be able to detect second touch outside of it’s view. Currently to transform the view it requires two pointers to start inside of it’s bounds, I would like to change it so only first pointer needs to start inside of the bounds and second one can be anywhere in the parent view. Have anyone tried something like this before? any ideas / suggestions how this could be achieved? 👀
I just found
motionEventSpy
modifier which sounds like something I was looking for edit: or maybe not… this seem to work the other way around 😓
14 Views