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

rsktash

01/28/2021, 7:57 AM
Hi Is there a better way to prevent double click? disable logic not implemented yet
t

Timo Drick

01/28/2021, 12:30 PM
Maybe better implement a custom Modifier. So you could wrap the Modifier.clickable and store ts of last click. Than only when it is over a treschold you forward the click to the onClick listener.
r

rsktash

01/28/2021, 12:32 PM
Good idea. I’ll try it. Thank you
15 Views