Hi Is there a better way to prevent double click? ...
# compose
r
Hi Is there a better way to prevent double click? disable logic not implemented yet
t
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
Good idea. I’ll try it. Thank you