https://kotlinlang.org logo
j

Jakub Ledwon

01/21/2021, 8:09 PM
Is there any out of the box solution for handling long press on button, and for handling long presses in general? I've found
LongPressTimeout
, but can't find any example of it being used, have anyone tried it and could share some experience?
👀 1
i

Ian Lake

01/21/2021, 8:11 PM
a

Adam Powell

01/21/2021, 11:21 PM
you probably want the long click callback in
Modifier.clickable
, though all of this is moving around a bit soon
n

Nat Strangerweather

01/22/2021, 2:03 PM
I'm trying to obtain a result when longpressing a button...
4 Views