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

jossiwolf

08/29/2022, 2:57 PM
Swipeable users, are any of you using
thresholds
to define custom thresholds based on the origin and/or target? For example:
Copy code
Box(Modifier.swipeable(thresholds = { from, to -> if (from == A) FixedThreshold(56.dp) else FractionalThreshold(0.5f) }))
d

dimsuz

08/29/2022, 7:55 PM
wrote several swipeable-based composables, never customized default thresholds...
4 Views