Join Slack
Powered by
How to undo a click in Compose? Let's say we want ...
# compose
m
Mehdi Haghgoo
02/01/2021, 5:23 PM
How to undo a click in Compose? Let's say we want to set a variable to A when a UI is clicked and to B when it is released?
z
Zach Klippenstein (he/him) [MOD]
02/01/2021, 6:26 PM
https://developer.android.com/reference/kotlin/androidx/compose/foundation/gestures/package-summary#(androidx.compose.ui.input.pointer.PointerInputScope).detectTapGestures(kotlin.Function0,%20kotlin.Function0,%20kotlin.coroutines.SuspendFunction2,%20kotlin.Function0)
👍 1
Open in Slack
Previous
Next